Skip to content
Snippets Groups Projects
Commit 66a3a641 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #10138 from owncloud/innodb-repair-non-oc

Dont touch non-oc tables when doing the InnoDB repair step
parents 65903a01 ca463f9c
Branches
No related tags found
No related merge requests found
......@@ -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)
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment