fix expr tmp result allocator sanity check core

This commit is contained in:
obdev
2022-10-25 18:11:07 +08:00
committed by wangzelin.wzl
parent 8e5fcb688f
commit 33c8a8dd8b
4 changed files with 8 additions and 3 deletions

View File

@ -40,7 +40,7 @@ ObEvalCtx::ObEvalCtx(ObExecContext &exec_ctx)
exec_ctx_(exec_ctx),
tmp_alloc_(exec_ctx.get_eval_tmp_allocator()),
datum_caster_(NULL),
tmp_alloc_used_(false),
tmp_alloc_used_(exec_ctx.get_tmp_alloc_used()),
batch_idx_(0),
batch_size_(0),
expr_res_alloc_(exec_ctx.get_eval_res_allocator())