diff --git a/lib/repair/innodb.php b/lib/repair/innodb.php index 6f7fcfcd4c..6b795a749e 100644 --- a/lib/repair/innodb.php +++ b/lib/repair/innodb.php @@ -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) );