Browse Source
Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/24146/head
Joas Schilling
5 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
2 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|
|