to issue<50154194>:fix core when execute proc fail

This commit is contained in:
hanr881
2023-06-05 12:42:37 +00:00
committed by ob-robot
parent 73ec60d0d0
commit 107b73981d

View File

@ -318,10 +318,6 @@ int ObPL::execute_proc(ObPLExecCtx &ctx,
}
} catch (...) {
ctx.exec_ctx_->get_sql_ctx()->schema_guard_ = old_schema_guard;
if (NULL != mem_context) {
DESTROY_CONTEXT(mem_context);
mem_context = NULL;
}
throw;
}
if (OB_SUCC(ret)) {