]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables to InnoDB
authormkanat%bugzilla.org <>
Sun, 20 Sep 2009 22:34:33 +0000 (22:34 +0000)
committermkanat%bugzilla.org <>
Sun, 20 Sep 2009 22:34:33 +0000 (22:34 +0000)
Patch by Gerard J. Cerchio <gjpc@circlesoft.com> r=mkanat, a=mkanat

Bugzilla/DB/Mysql.pm

index 92d1df1a01a1f6adaf7249f5b5176b1f412a593b..8a72814945122f72d85a2a5cbbb24a65c8c619f7 100644 (file)
@@ -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";
         }
     }