* Patch from Luxa Olivetti, fix for issue #33737

(cherry picked from commit 27f8f077d5)
This commit is contained in:
Michaël Van Canneyt 2022-08-24 14:13:17 +02:00 committed by marcoonthegit
parent d209df65b2
commit 69ffa43ccf

View File

@ -987,6 +987,11 @@ begin
begin
PQclear(res);
res:=nil;
if ForcedClose then
begin
FPrepared := False;
exit;
end;
if FPrepared then
begin
if assigned(tr) and (PQtransactionStatus(tr.PGConn) <> PQTRANS_INERROR) then