add double-destroy check for MemoryContext
This commit is contained in:
@ -100,7 +100,7 @@ OB_DEF_DESERIALIZE(ObExpr)
|
||||
expr_ctx_id_);
|
||||
if (OB_SUCC(ret)) {
|
||||
if (ObExprExtraInfoFactory::is_registered(type_)) {
|
||||
if (OB_FAIL(ObExprExtraInfoFactory::alloc(CURRENT_CONTEXT.get_arena_allocator(), type_, extra_info_))) {
|
||||
if (OB_FAIL(ObExprExtraInfoFactory::alloc(CURRENT_CONTEXT->get_arena_allocator(), type_, extra_info_))) {
|
||||
LOG_WARN("fail to alloc expr extra info", K(ret), K(type_));
|
||||
} else if (OB_NOT_NULL(extra_info_)) {
|
||||
if (OB_FAIL(extra_info_->deserialize(buf, data_len, pos))) {
|
||||
|
||||
Reference in New Issue
Block a user