diff options
author | mkanat%bugzilla.org <> | 2009-09-20 22:33:32 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-20 22:33:32 +0000 |
commit | a92f9a32ec0710602e069f28021d64f70363818a (patch) | |
tree | c88775721f7d37cc79f0b010cb41f5aa14a65d4e /Bugzilla | |
parent | 33124d1c674fb7c6c9fa7eb015c8c887072913e1 (diff) | |
download | bugs-a92f9a32ec0710602e069f28021d64f70363818a.tar bugs-a92f9a32ec0710602e069f28021d64f70363818a.tar.gz bugs-a92f9a32ec0710602e069f28021d64f70363818a.tar.bz2 bugs-a92f9a32ec0710602e069f28021d64f70363818a.tar.xz bugs-a92f9a32ec0710602e069f28021d64f70363818a.zip |
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
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index a1bd71b76..da3e301a9 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"; } } |