=== modified file 'includes/database/mysql/schema.inc' --- includes/database/mysql/schema.inc 2008-12-06 09:01:58 +0000 +++ includes/database/mysql/schema.inc 2008-12-07 10:51:34 +0000 @@ -34,9 +34,11 @@ * An array of SQL statements to create the table. */ protected function createTableSql($name, $table) { - if (empty($table['mysql_suffix'])) { - $table['mysql_suffix'] = "/*!40100 DEFAULT CHARACTER SET UTF8 */"; - } + // Provide some defaults if needed + $table += array( + 'mysql_engine' => 'ENGINE=InnoDB ', + 'mysql_suffix' => '', + ); $sql = "CREATE TABLE {" . $name . "} (\n"; @@ -54,7 +56,7 @@ // Remove the last comma and space. $sql = substr($sql, 0, -3) . "\n) "; - $sql .= $table['mysql_suffix']; + $sql .= $table['mysql_engine'] . $table['mysql_suffix']; return array($sql); }