mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
fix: don't short circuit query optimizer
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
277a6fc7ea
commit
3971313d4c
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ class ReplacingOptimizerStep extends QueryOptimizerStep {
|
|||
$modified = false;
|
||||
$arguments = $operator->getArguments();
|
||||
foreach ($arguments as &$argument) {
|
||||
$modified = $modified || $this->processOperator($argument);
|
||||
if ($this->processOperator($argument)) {
|
||||
$modified = true;
|
||||
}
|
||||
}
|
||||
if ($modified) {
|
||||
$operator->setArguments($arguments);
|
||||
|
|
|
|||
Loading…
Reference in a new issue