Merge pull request #24148 from nextcloud/backport/24146/stable19
[stable19] Don't throw on SHOW VERSION query
This commit is contained in:
commit
cf04049aa6
|
@ -102,7 +102,8 @@ class OC_DB {
|
||||||
return true;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue