mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20:34 +03:00
fix TYPE -> ENGINE (mysql 5.5 compatibility)
This commit is contained in:
parent
8a1cc74803
commit
2479f2e684
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user