mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-02 09:34:41 +03:00
fix TYPE -> ENGINE (mysql 5.5 compatibility)
This commit is contained in:
parent
a68b9e6e9c
commit
2261c1cfbe
@ -170,7 +170,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