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

This commit is contained in:
obdev
2024-02-09 13:53:15 +00:00
committed by ob-robot
parent 7084582acf
commit d3dff932a4
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));
}