]> 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:33:32 +0000 (22:33 +0000)
committermkanat%bugzilla.org <>
Sun, 20 Sep 2009 22:33:32 +0000 (22:33 +0000)
Patch by Gerard J. Cerchio <gjpc@circlesoft.com> r=mkanat, a=mkanat

Bugzilla/DB/Mysql.pm

index a1bd71b765e0152ce152df09e6351c90551647d5..da3e301a98c6f30cff32fec63d2760151b00c043 100644 (file)
@@ -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";
         }
     }