1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

chore(): review fixes

This commit is contained in:
drrtuy
2025-06-24 11:47:53 +00:00
parent 3bf4394456
commit 8a2ae35918
2 changed files with 4 additions and 48 deletions

View File

@ -51,9 +51,9 @@ bool Rule::apply(execplan::CalpontSelectExecutionPlan& root) const
bool hasBeenApplied = false;
do
{
changedThisRound = walk(root) && !applyOnlyOnce;
hasBeenApplied = changedThisRound;
} while (changedThisRound);
changedThisRound = walk(root);
hasBeenApplied |= changedThisRound;
} while (changedThisRound && !applyOnlyOnce);
return hasBeenApplied;
}