to issue<50154194>:fix core when execute proc fail
This commit is contained in:
@ -318,10 +318,6 @@ int ObPL::execute_proc(ObPLExecCtx &ctx,
|
|||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
ctx.exec_ctx_->get_sql_ctx()->schema_guard_ = old_schema_guard;
|
ctx.exec_ctx_->get_sql_ctx()->schema_guard_ = old_schema_guard;
|
||||||
if (NULL != mem_context) {
|
|
||||||
DESTROY_CONTEXT(mem_context);
|
|
||||||
mem_context = NULL;
|
|
||||||
}
|
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
|
Reference in New Issue
Block a user