add double-destroy check for MemoryContext

This commit is contained in:
jg0
2021-07-27 19:54:14 +08:00
committed by wangzelin.wzl
parent 91852f9b58
commit 0b7773c43f
86 changed files with 416 additions and 329 deletions

View File

@ -1076,7 +1076,7 @@ OB_INLINE int ObMPQuery::response_result(ObQueryExecCtx& query_ctx, bool force_s
if (OB_LIKELY(NULL != result.get_physical_plan())) {
if (need_execute_async && GET_MIN_CLUSTER_VERSION() >= CLUSTER_VERSION_2260) {
ctx_.is_execute_async_ = true;
WITH_CONTEXT(&query_ctx.get_mem_context())
WITH_CONTEXT(query_ctx.get_mem_context())
{
if (OB_FAIL(register_callback_with_async(query_ctx))) {
LOG_WARN("response result with async failed", K(ret));