[Pkg-owncloud-commits] [owncloud] 01/121: Dont touch non-oc tables when doing the InnoDB repair step

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 3e103f5beea3d8ca6a95bd43a645b8262e730926
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon Aug 4 13:14:12 2014 +0200

    Dont touch non-oc tables when doing the InnoDB repair step
---
 lib/repair/innodb.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/repair/innodb.php b/lib/repair/innodb.php
index 6f7fcfc..6b795a7 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)
 		);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list