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)) { if (in_array($id, $memtables)) {
$query .= " ENGINE=MEMORY"; $query .= " ENGINE=MEMORY";
} else { } else {
$query .= " TYPE=InnoDb"; $query .= " ENGINE=InnoDb";
} }
mysql_query($query, $link) or show_install_err(' Query failed: ' . mysql_error($link)); mysql_query($query, $link) or show_install_err(' Query failed: ' . mysql_error($link));