From f2479fe6157419c13321a4379db5a2c228a8d01b Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 16 Mar 2023 08:10:58 +0000 Subject: [PATCH] fix for_update link scan operator not set in_xa_transaction --- src/sql/engine/table/ob_link_scan_op.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/engine/table/ob_link_scan_op.cpp b/src/sql/engine/table/ob_link_scan_op.cpp index a98bc128ec..4f6f627470 100644 --- a/src/sql/engine/table/ob_link_scan_op.cpp +++ b/src/sql/engine/table/ob_link_scan_op.cpp @@ -220,7 +220,7 @@ int ObLinkScanOp::inner_open() if (OB_FAIL(ret)) { // do nothing } else if (sql::DblinkGetConnType::DBLINK_POOL == conn_type_ && - OB_FAIL(init_dblink(MY_SPEC.dblink_id_, GCTX.dblink_proxy_))) { + OB_FAIL(init_dblink(MY_SPEC.dblink_id_, GCTX.dblink_proxy_, MY_SPEC.has_for_update_))) { LOG_WARN("failed to init dblink", K(ret), K(MY_SPEC.dblink_id_), K(MY_SPEC.is_reverse_link_)); } else if (OB_FAIL(init_tz_info(TZ_INFO(session)))) { LOG_WARN("failed to tz info", K(ret), KP(session)); -- GitLab