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

This commit is contained in:
hanr881
2024-02-04 12:12:02 +00:00
committed by ob-robot
parent 9cc29b070f
commit ed1e4d3f4f
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",