mark dblink connection unusable when execute query failed

This commit is contained in:
obdev
2023-03-14 14:44:16 +00:00
committed by ob-robot
parent e43d803a55
commit 4fc5c53c37
10 changed files with 42 additions and 25 deletions

View File

@ -346,6 +346,7 @@ void ObSQLSessionInfo::reset(bool skip_sys_var)
expect_group_id_ = OB_INVALID_ID;
group_id_not_expected_ = false;
//call at last time
dblink_context_.reset(); // need reset before ObBasicSessionInfo::reset(skip_sys_var);
ObBasicSessionInfo::reset(skip_sys_var);
txn_free_route_ctx_.reset();
}