Skip to content

Commit

Permalink
* Patch from Luxa Olivetti, fix for issue #33737
Browse files Browse the repository at this point in the history
  • Loading branch information
mvancanneyt committed Aug 24, 2022
1 parent f8bf343 commit 27f8f07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/fcl-db/src/sqldb/postgres/pqconnection.pp
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,11 @@ procedure TPQConnection.UnPrepareStatement(cursor : TSQLCursor);
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
Expand Down

0 comments on commit 27f8f07

Please sign in to comment.