mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Don’t use USE_FRM in MySQL repair. Fixes #6300.
USE_FRM is a sufficiently dangerous option that it should require manual DBA activity to carry out. See http://dev.mysql.com/doc/refman/5.7/en/repair-table.html for more info.
This commit is contained in:
parent
755907d117
commit
f2cbc1dfbb
@ -167,7 +167,7 @@ class MySQLSchemaManager extends DBSchemaManager
|
||||
"Table $tableName: repaired",
|
||||
"repaired"
|
||||
);
|
||||
return $this->runTableCheckCommand("REPAIR TABLE \"$tableName\" USE_FRM");
|
||||
return $this->runTableCheckCommand("REPAIR TABLE \"$tableName\"");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user