You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-02 06:13:16 +03:00
chore(rbo,rules): fixed lost flag value result back propagation to resolve RBO logging and added recursive passes for projection list optimization.
This commit is contained in:
@@ -76,7 +76,7 @@ bool Rule::apply(execplan::CalpontSelectExecutionPlan& root, optimizer::RBOptimi
|
||||
{
|
||||
changedThisRound = walk(root, ctx);
|
||||
hasBeenApplied |= changedThisRound;
|
||||
if (ctx.logRules)
|
||||
if (ctx.logRules && changedThisRound)
|
||||
{
|
||||
std::cout << "MCS RBO: " << name << " has been applied this round." << std::endl;
|
||||
}
|
||||
@@ -132,7 +132,7 @@ bool Rule::walk(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimiz
|
||||
|
||||
if (mayApply(*current))
|
||||
{
|
||||
rewrite = applyRule(*current, ctx);
|
||||
rewrite |= applyRule(*current, ctx);
|
||||
++ctx.uniqueId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user