From 9d9a960d1b71a0b3b8ba4be691515c1f3dbc279b Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 14 Jul 2011 10:12:39 +0100 Subject: [PATCH] type->engine for mysql 5.5 --- core/database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/database.class.php b/core/database.class.php index e3ed4105..69d54e9e 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -80,7 +80,7 @@ class MySQL extends DBEngine { public function create_table_sql($name, $data) { $data = $this->scoreql_to_sql($data); - $ctes = "TYPE=InnoDB DEFAULT CHARSET='utf8'"; + $ctes = "ENGINE=InnoDB DEFAULT CHARSET='utf8'"; return "CREATE TABLE $name ($data) $ctes"; } }