summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-09-21 00:33:32 +0200
committermkanat%bugzilla.org <>2009-09-21 00:33:32 +0200
commita92f9a32ec0710602e069f28021d64f70363818a (patch)
treec88775721f7d37cc79f0b010cb41f5aa14a65d4e /Bugzilla/DB
parent33124d1c674fb7c6c9fa7eb015c8c887072913e1 (diff)
downloadbugzilla-a92f9a32ec0710602e069f28021d64f70363818a.tar.gz
bugzilla-a92f9a32ec0710602e069f28021d64f70363818a.tar.xz
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/DB')
-rw-r--r--Bugzilla/DB/Mysql.pm2
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";
}
}