Merge pull request #10138 from owncloud/innodb-repair-non-oc

Dont touch non-oc tables when doing the InnoDB repair step
This commit is contained in:
Thomas Müller 2014-08-04 16:23:46 +02:00
commit 66a3a641b9
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)
);