From 01400a10ecc05fa56ee27a9594bba835bd1c3645 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 3e7bcaf3..5815625f 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -83,7 +83,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"; } }