summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-04 16:23:46 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-04 16:23:46 +0200
commit66a3a641b97bc1dc91aca919fe8d12c5681b0f59 (patch)
tree8a811210f729d3ac5523653497e66ef191527ce7
parent65903a012a05d012b463d944594afa0104386426 (diff)
parentca463f9c10f17d4fc68a67743fa210ce81626018 (diff)
downloadnextcloud-server-66a3a641b97bc1dc91aca919fe8d12c5681b0f59.tar.gz
nextcloud-server-66a3a641b97bc1dc91aca919fe8d12c5681b0f59.zip
Merge pull request #10138 from owncloud/innodb-repair-non-oc
Dont touch non-oc tables when doing the InnoDB repair step
-rw-r--r--lib/repair/innodb.php2
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)
);