Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Nov 16, 2020
commit 353947a7dbd8ad85c558b306233ecc9aa1b21bae
3 changes: 2 additions & 1 deletion lib/private/legacy/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ static public function isManipulation( $sql ) {
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;
}
Expand Down