mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX: Use the correct classname to check for a repair
This re-enables correcting the case of tables, mostly used after an import from MySQL running on Windows. Fixes #2713
This commit is contained in:
parent
f433b5000f
commit
5e3420a640
@ -326,7 +326,7 @@ abstract class SS_Database {
|
||||
$this->transCreateTable($table, $options, $extensions);
|
||||
$this->alterationMessage("Table $table: created","created");
|
||||
} else {
|
||||
if(Config::inst()->get('Database', 'check_and_repair_on_build')) {
|
||||
if(Config::inst()->get('SS_Database', 'check_and_repair_on_build')) {
|
||||
$this->checkAndRepairTable($table, $options);
|
||||
}
|
||||
|
||||
@ -1050,4 +1050,4 @@ abstract class SS_Database {
|
||||
public function releaseLock($name) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user