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:
Sam Minnee 2018-10-02 10:48:25 +13:00
parent 755907d117
commit f2cbc1dfbb

View File

@ -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\"");
}
/**