diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-04 13:14:12 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-04 13:14:12 +0200 |
commit | ca463f9c10f17d4fc68a67743fa210ce81626018 (patch) | |
tree | 854167684887b2d807a6cced5185318f247e290d /lib/repair | |
parent | 8e6409a932c9f79901f22500b852372be9b650fd (diff) | |
download | nextcloud-server-ca463f9c10f17d4fc68a67743fa210ce81626018.tar.gz nextcloud-server-ca463f9c10f17d4fc68a67743fa210ce81626018.zip |
Dont touch non-oc tables when doing the InnoDB repair step
Diffstat (limited to 'lib/repair')
-rw-r--r-- | lib/repair/innodb.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) ); |