From 2261c1cfbe1485075b500dc6efafba2cb04ce7c3 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 63769fc1..21797ca8 100644 --- a/src/messenger/webim/install/dbinfo.php +++ b/src/messenger/webim/install/dbinfo.php @@ -170,7 +170,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));