1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-02 06:13:16 +03:00

chore(): resolution for compilation issues introduced by rebase.

This commit is contained in:
drrtuy
2025-08-13 14:46:14 +00:00
parent 7ad42678d4
commit 4cc1492b95
2 changed files with 3 additions and 4 deletions

View File

@@ -31,14 +31,13 @@ namespace optimizer
using DerivedToFiltersMap = std::map<std::string, execplan::ParseTree*>; using DerivedToFiltersMap = std::map<std::string, execplan::ParseTree*>;
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep) bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& /*ctx*/)
{ {
// The original rule match contains questionable decision to filter out // The original rule match contains questionable decision to filter out
// queries that contains any UNION UNIT with only derived tables. // queries that contains any UNION UNIT with only derived tables.
// See ha_from_sub.cpp before MCS 23.10.7 for more details and @bug6156. // See ha_from_sub.cpp before MCS 23.10.7 for more details and @bug6156.
// All tables are derived thus nothing to optimize. // All tables are derived thus nothing to optimize.
return ! return !csep.tableList().empty();
csep.tableList().empty();
} }

View File

@@ -25,6 +25,6 @@
#include "rulebased_optimizer.h" #include "rulebased_optimizer.h"
namespace optimizer { namespace optimizer {
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep); bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx);
bool applyPredicatePushdown(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx); bool applyPredicatePushdown(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx);
} }