fix TYPE -> ENGINE (mysql 5.5 compatibility)

This commit is contained in:
Evgeny Gryaznov 2011-03-06 23:36:34 +01:00
parent 8a1cc74803
commit 2479f2e684

View File

@ -157,7 +157,7 @@ function create_table($id, $link)
if (in_array($id, $memtables)) {
$query .= " ENGINE=MEMORY";
} else {
$query .= " TYPE=InnoDb";
$query .= " ENGINE=InnoDb";
}
mysql_query($query, $link) or show_install_err(' Query failed: ' . mysql_error($link));