[FEAT MERGE]: online optimizer stats gather.
Co-authored-by: obdev <obdev@oceanbase.com>
This commit is contained in:
@ -50,6 +50,7 @@
|
||||
#include "ob_log_err_log.h"
|
||||
#include "ob_log_stat_collector.h"
|
||||
#include "ob_del_upd_log_plan.h"
|
||||
#include "ob_log_optimizer_stats_gathering.h"
|
||||
using namespace oceanbase;
|
||||
using namespace oceanbase::sql;
|
||||
using namespace oceanbase::sql::log_op_def;
|
||||
@ -342,6 +343,13 @@ ObLogicalOperator *ObLogOperatorFactory::allocate(ObLogPlan &plan, ObLogOpType t
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LOG_OPTIMIZER_STATS_GATHERING: {
|
||||
ptr = allocator_.alloc(sizeof(ObLogOptimizerStatsGathering));
|
||||
if (NULL != ptr) {
|
||||
ret_op = new (ptr) ObLogOptimizerStatsGathering(plan);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user