Commit a92f9a32 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables to InnoDB

Patch by Gerard J. Cerchio <gjpc@circlesoft.com> r=mkanat, a=mkanat
parent 33124d1c
......@@ -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";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment