mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-16 04:58:35 +02:00
* Patch from Luxa Olivetti, fix for issue #33737
This commit is contained in:
parent
f8bf34303c
commit
27f8f077d5
@ -987,6 +987,11 @@ begin
|
|||||||
begin
|
begin
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
res:=nil;
|
res:=nil;
|
||||||
|
if ForcedClose then
|
||||||
|
begin
|
||||||
|
FPrepared := False;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
if FPrepared then
|
if FPrepared then
|
||||||
begin
|
begin
|
||||||
if assigned(tr) and (PQtransactionStatus(tr.PGConn) <> PQTRANS_INERROR) then
|
if assigned(tr) and (PQtransactionStatus(tr.PGConn) <> PQTRANS_INERROR) then
|
||||||
|
Loading…
Reference in New Issue
Block a user