diff options
-rw-r--r-- | lib/private/legacy/db.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php index 31e3c24ceb7..ae5ca7b6bda 100644 --- a/lib/private/legacy/db.php +++ b/lib/private/legacy/db.php @@ -101,7 +101,8 @@ class OC_DB { return true; } - \OC::$server->getLogger()->logException(new \Exception('Can not detect if query is manipulating: ' . $sql)); + // This is triggered with "SHOW VERSION" and some more, so until we made a list, we keep this out. + // \OC::$server->getLogger()->logException(new \Exception('Can not detect if query is manipulating: ' . $sql)); return false; } |