[CP] [to #54452952] fix serval pl/sql bugs

This commit is contained in:
obdev
2024-01-17 07:47:47 +00:00
committed by ob-robot
parent 1e2b018bbf
commit 05599ed878
4 changed files with 43 additions and 41 deletions

View File

@ -2250,8 +2250,8 @@ int ObSQLSessionInfo::replace_user_variable(
// we should only reset_all_package, do not need set_user_variable
OZ (reset_all_package_state_by_dbms_session(false));
} else if (is_package_variable && OB_NOT_NULL(get_pl_engine())) {
OZ (set_package_variable(ctx, name, value.value_, true));
OZ (ObBasicSessionInfo::replace_user_variable(name, value, false));
OZ (set_package_variable(ctx, name, value.value_, true));
} else {
OZ (ObBasicSessionInfo::replace_user_variable(name, value));
}