mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query
Don't throw on SHOW VERSION query
This commit is contained in:
commit
17034866f5
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue