Permalink
Browse files

fix TYPE -> ENGINE (mysql 5.5 compatibility)

  • Loading branch information...
1 parent 8a1cc74 commit 2479f2e68492356cd85ba9497514be57b24db4c8 @inspirer committed Mar 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));

0 comments on commit 2479f2e

Please sign in to comment.