Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…k/moodle into MOODLE_21_STABLE
  • Loading branch information...
commit 44335d9ea993d3b1d2eef3eefb79067bcb13a427 2 parents 1ed536f + 12c5ea8
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  admin/cli/mysql_engine.php
  2. +1 −1  admin/innodb.php
View
2  admin/cli/mysql_engine.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++;
}
View
2  admin/innodb.php
@@ -26,7 +26,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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.