fix 4377 caused by px retry

This commit is contained in:
obdev
2022-12-13 04:37:59 +00:00
committed by ob-robot
parent 3635038539
commit f93ef2fe39
10 changed files with 44 additions and 44 deletions

View File

@ -140,6 +140,7 @@ OB_INLINE int ObResultSet::open_plan()
int ObResultSet::open()
{
int ret = OB_SUCCESS;
my_session_.set_process_query_time(ObTimeUtility::current_time());
LinkExecCtxGuard link_guard(my_session_, get_exec_context());
if (lib::is_oracle_mode() &&
get_exec_context().get_nested_level() >= OB_MAX_RECURSIVE_SQL_LEVELS) {