fix expr tmp result allocator sanity check core
This commit is contained in:
@ -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())
|
||||
|
||||
@ -255,7 +255,7 @@ public:
|
||||
// Can not use allocator for expression result. (ObExpr::get_str_res_mem() is used for result).
|
||||
common::ObArenaAllocator &tmp_alloc_;
|
||||
ObDatumCaster *datum_caster_;
|
||||
bool tmp_alloc_used_;
|
||||
bool &tmp_alloc_used_;
|
||||
private:
|
||||
int64_t batch_idx_;
|
||||
int64_t batch_size_;
|
||||
|
||||
Reference in New Issue
Block a user