Permalink
Browse files

Merge branch 'w03_MDL-31165_m22_innodbconv' of git://github.com/skoda…

…k/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 8b23f31 + 22d6b3d commit e09cfa968b4578cbfe967f72aca71d613337bad4 @stronk7 stronk7 committed Jan 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 admin/cli/mysql_engine.php
  2. +1 −1 admin/tool/innodb/index.php
@@ -76,7 +76,7 @@
}
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++;
}
@@ -50,7 +50,7 @@
$DB->set_debug(true);
foreach ($tables as $table) {
$fulltable = $DB->get_prefix().$table;
- $DB->change_database_structure("ALTER TABLE $fulltable TYPE=INNODB");
+ $DB->change_database_structure("ALTER TABLE $fulltable ENGINE=INNODB");
}
$DB->set_debug(false);
}

0 comments on commit e09cfa9

Please sign in to comment.