From: Robin Appelman Date: Mon, 4 Aug 2014 11:14:12 +0000 (+0200) Subject: Dont touch non-oc tables when doing the InnoDB repair step X-Git-Tag: v8.0.0alpha1~975^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca463f9c10f17d4fc68a67743fa210ce81626018;p=nextcloud-server.git Dont touch non-oc tables when doing the InnoDB repair step --- diff --git a/lib/repair/innodb.php b/lib/repair/innodb.php index 6f7fcfcd4c9..6b795a749e9 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) );