From 2479f2e68492356cd85ba9497514be57b24db4c8 Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Sun, 6 Mar 2011 23:36:34 +0100 Subject: [PATCH] fix TYPE -> ENGINE (mysql 5.5 compatibility) --- src/messenger/webim/install/dbinfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messenger/webim/install/dbinfo.php b/src/messenger/webim/install/dbinfo.php index 2f215e65..502cf682 100644 --- a/src/messenger/webim/install/dbinfo.php +++ b/src/messenger/webim/install/dbinfo.php @@ -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));