diff options
author | kesselb <mail@danielkesselberg.de> | 2020-11-16 09:56:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 09:56:51 +0100 |
commit | 17034866f5e0f995d9c46fdec3ddf001d64e3c19 (patch) | |
tree | 32749ca21c87a9a9011dd513cd430eaf33204e0a | |
parent | 0bed1c2bd0185f57521dfca1794b8ad1af1261fe (diff) | |
parent | 91a3e439cbc82b06a6a26e27fea3ffa3e3e3611a (diff) | |
download | nextcloud-server-17034866f5e0f995d9c46fdec3ddf001d64e3c19.tar.gz nextcloud-server-17034866f5e0f995d9c46fdec3ddf001d64e3c19.zip |
Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query
Don't throw on SHOW VERSION query
-rw-r--r-- | lib/private/legacy/OC_DB.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_DB.php b/lib/private/legacy/OC_DB.php index ee769a46deb..0853661c090 100644 --- a/lib/private/legacy/OC_DB.php +++ b/lib/private/legacy/OC_DB.php @@ -103,7 +103,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; } |