From e07a09cdaf01cf657a9a52895468040a6be6e705 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 20 Sep 2009 22:34:33 +0000 Subject: [PATCH] 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(-) diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 92d1df1a01..8a72814945 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -334,7 +334,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"; } } -- 2.47.2