Dont touch non-oc tables when doing the InnoDB repair step

This commit is contained in:
Robin Appelman 2014-08-04 13:14:12 +02:00
parent 8e6409a932
commit ca463f9c10
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class InnoDB extends BasicEmitter implements \OC\RepairStep {
private function getAllMyIsamTables($connection) {
$dbName = \OC::$server->getConfig()->getSystemValue("dbname");
$result = $connection->fetchArray(
"SELECT table_name FROM information_schema.tables WHERE table_schema = ? AND engine = 'MyISAM'",
"SELECT table_name FROM information_schema.tables WHERE table_schema = ? AND engine = 'MyISAM' AND TABLE_NAME LIKE \"*PREFIX*%\"",
array($dbName)
);