Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-04 15:14:12 +0400
committerRobin Appelman <icewind@owncloud.com>2014-08-04 19:10:18 +0400
commit3e103f5beea3d8ca6a95bd43a645b8262e730926 (patch)
tree26bca27615925fbff92bf8ac312279cfcecf073c /lib/repair
parent5a57d2bd42a9be3e3808269943f47b1a586148d7 (diff)
Dont touch non-oc tables when doing the InnoDB repair step
Diffstat (limited to 'lib/repair')
-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)
);