mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 22:49:22 +02:00
* Patch from Luxa Olivetti, fix for issue #33737
(cherry picked from commit 27f8f077d5
)
This commit is contained in:
parent
d209df65b2
commit
69ffa43ccf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user