From 74f5335e455396334046d2cc009c7d0983eb6bcd Mon Sep 17 00:00:00 2001 From: chenxiaobin19 <1025221611@qq.com> Date: Wed, 24 Jul 2024 20:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DB=E5=BA=93=E9=80=9A=E8=BF=87s?= =?UTF-8?q?pi=E6=89=A7=E8=A1=8Cabort=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/spi.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gausskernel/runtime/executor/spi.cpp b/src/gausskernel/runtime/executor/spi.cpp index 43168348c..ba85ce547 100644 --- a/src/gausskernel/runtime/executor/spi.cpp +++ b/src/gausskernel/runtime/executor/spi.cpp @@ -2802,11 +2802,7 @@ static int _SPI_execute_plan0(SPIPlanPtr plan, ParamListInfo paramLI, Snapshot s my_res = SPI_ERROR_COPY; goto fail; } - } else if (IsA(stmt, TransactionStmt) -#ifndef ENABLE_MULTIPLE_NODES - && !u_sess->attr.attr_sql.dolphin -#endif - ) { + } else if (IsA(stmt, TransactionStmt)) { my_res = SPI_ERROR_TRANSACTION; goto fail; }