MDL-31165 fix InnoDB conversion query to use ENGINE parameter instead of legacy TYPE

This commit is contained in:
Petr Skoda
2012-01-15 10:32:29 +01:00
parent f70f6e9ad1
commit 22d6b3da4f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ if (!empty($options['engine'])) {
}
echo str_pad($table->name, 40). " - ";
$DB->change_database_structure("ALTER TABLE {$table->name} TYPE = $engine");
$DB->change_database_structure("ALTER TABLE {$table->name} ENGINE = $engine");
echo "DONE\n";
$converted++;
}