Merge pull request #20 from szalwia/master

Fix for mySQL>=5.1
This commit is contained in:
Shish Moom 2011-05-13 02:01:28 -07:00
commit c05cb0d54e

View file

@ -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";
}
}