You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-31 18:30:33 +03:00
chore(rbo): simplistic rulle application logging.
This commit is contained in:
@@ -32,12 +32,13 @@ namespace optimizer {
|
||||
class RBOptimizerContext {
|
||||
public:
|
||||
RBOptimizerContext() = delete;
|
||||
RBOptimizerContext(cal_impl_if::gp_walk_info& walk_info, THD& thd) : gwi(walk_info), thd(thd) {}
|
||||
RBOptimizerContext(cal_impl_if::gp_walk_info& walk_info, THD& thd, bool logRules) : gwi(walk_info), thd(thd), logRules(logRules) {}
|
||||
// gwi lifetime should be longer than optimizer context.
|
||||
// In plugin runtime this is always true.
|
||||
cal_impl_if::gp_walk_info& gwi;
|
||||
THD& thd;
|
||||
uint64_t uniqueId {0};
|
||||
bool logRules {false};
|
||||
};
|
||||
|
||||
struct Rule
|
||||
|
||||
Reference in New Issue
Block a user