fix for mySQL>5.1 - should remain compatible with versions prior to 5.1
This commit is contained in:
parent
1abb96159b
commit
a5f3a36fa4
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue