From a92f9a32ec0710602e069f28021d64f70363818a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 20 Sep 2009 22:33:32 +0000 Subject: Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables to InnoDB Patch by Gerard J. Cerchio r=mkanat, a=mkanat --- Bugzilla/DB/Mysql.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index a1bd71b76..da3e301a9 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -381,7 +381,7 @@ EOT " most tables.\nConverting tables to InnoDB:\n"; foreach my $table (@myisam_tables) { print "Converting table $table... "; - $self->do("ALTER TABLE $table TYPE = InnoDB"); + $self->do("ALTER TABLE $table ENGINE = InnoDB"); print "done.\n"; } } -- cgit v1.2.3-24-g4f1b