[CP] [to #53885845] fix package state sync with distrubte plan on remote server

This commit is contained in:
obdev
2023-12-28 14:18:12 +00:00
committed by ob-robot
parent 44917ddf79
commit 817a1bc624
3 changed files with 4 additions and 3 deletions

View File

@ -2237,6 +2237,7 @@ int ObSQLSessionInfo::replace_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));
} else {
OZ (ObBasicSessionInfo::replace_user_variable(name, value));
}