* Patch from Luxa Olivetti, fix for issue #33737

This commit is contained in:
Michaël Van Canneyt 2022-08-24 14:13:17 +02:00
parent f8bf34303c
commit 27f8f077d5

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