remove mysql-adodb specific function #2
This commit is contained in:
parent
b0dae2497e
commit
0d73aa7692
@ -19,6 +19,8 @@ class Upgrade extends SimpleExtension {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($config->get_int("db_version") < 7) {
|
if($config->get_int("db_version") < 7) {
|
||||||
|
/*
|
||||||
|
// mysql-adodb specific
|
||||||
if($database->engine->name == "mysql") {
|
if($database->engine->name == "mysql") {
|
||||||
$tables = $database->db->MetaTables();
|
$tables = $database->db->MetaTables();
|
||||||
foreach($tables as $table) {
|
foreach($tables as $table) {
|
||||||
@ -26,6 +28,7 @@ class Upgrade extends SimpleExtension {
|
|||||||
$database->execute("ALTER TABLE $table TYPE=INNODB");
|
$database->execute("ALTER TABLE $table TYPE=INNODB");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$config->set_int("db_version", 7);
|
$config->set_int("db_version", 7);
|
||||||
log_info("upgrade", "Database at version 7");
|
log_info("upgrade", "Database at version 7");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user