[CP] to issue<53073647>:fix two issues

This commit is contained in:
obdev
2024-02-10 09:01:25 +00:00
committed by ob-robot
parent 87e852f450
commit 59be123c65
5 changed files with 56 additions and 6 deletions

View File

@ -679,6 +679,9 @@ int ObCreatePackageBodyResolver::resolve(const ParseNode &parse_tree)
OZ (update_routine_route_sql(*allocator_, *session_info_, routine_list,
spec_routine_table, body_routine_table, routine_infos));
if (OB_FAIL(ret)) {
routine_list.reset();
}
}
if (OB_FAIL(ret) && ret != OB_ERR_UNEXPECTED && ret != OB_ERR_TOO_LONG_IDENT) {
LOG_USER_WARN(OB_ERR_PACKAGE_COMPILE_ERROR, "PACKAGE BODY",