From: mkanat%bugzilla.org <> Date: Sun, 20 Sep 2009 22:33:59 +0000 (+0000) Subject: Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables to InnoDB X-Git-Tag: bugzilla-3.4.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4726be2fb9067469d3c92bfcc69afdd5e6c06230;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 01cd239d74..4f6f9d76fa 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"; } }