fix for mySQL>5.1 - should remain compatible with versions prior to 5.1

This commit is contained in:
2011-05-12 12:32:34 -07:00
parent 1abb96159b
commit a5f3a36fa4

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