修复B库通过spi执行abort异常的问题
This commit is contained in:
@ -2802,11 +2802,7 @@ static int _SPI_execute_plan0(SPIPlanPtr plan, ParamListInfo paramLI, Snapshot s
|
|||||||
my_res = SPI_ERROR_COPY;
|
my_res = SPI_ERROR_COPY;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
} else if (IsA(stmt, TransactionStmt)
|
} else if (IsA(stmt, TransactionStmt)) {
|
||||||
#ifndef ENABLE_MULTIPLE_NODES
|
|
||||||
&& !u_sess->attr.attr_sql.dolphin
|
|
||||||
#endif
|
|
||||||
) {
|
|
||||||
my_res = SPI_ERROR_TRANSACTION;
|
my_res = SPI_ERROR_TRANSACTION;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user