[TABLELOCK] fix core which is cauesd by release exec_ctx and phy_plan_ctx concurrently

This commit is contained in:
YangEfei 2024-04-26 08:46:13 +00:00 committed by ob-robot
parent 3f6e55f2bc
commit 7b2d31f0ff

View File

@ -947,6 +947,7 @@ int ObReleaseAllLockExecutor::execute(const int64_t client_session_id)
OZ (ObLockFuncContext::valid_execute_context(exec_ctx));
OZ (execute_(exec_ctx, client_session_id, release_cnt));
OX (exec_ctx.set_physical_plan_ctx(nullptr)); // avoid core during release exec_ctx
}
}