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

@ -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_;