[CP] Split tenant for ObHybridHistEstimator

This commit is contained in:
2149 2023-10-17 04:09:52 +00:00 committed by ob-robot
parent 6f8e3be562
commit 9a234fc8a6

View File

@ -58,7 +58,7 @@ int ObHybridHistEstimator::estimate(const ObTableStatParam &param,
ObOptStat src_opt_stat;
src_opt_stat.table_stat_ = &tab_stat;
ObIArray<ObOptColumnStat*> &src_col_stats = src_opt_stat.column_stats_;
ObArenaAllocator allocator("ObHybridHist");
ObArenaAllocator allocator("ObHybridHist", OB_MALLOC_NORMAL_BLOCK_SIZE, param.tenant_id_);
ObString raw_sql;
ObString refine_raw_sql;
int64_t refine_cnt = 0;