mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 07:50:15 +02:00
* Correction in connection pooling, we were leaking connections
git-svn-id: trunk@25522 -
This commit is contained in:
parent
81b6e1b9d9
commit
a814e0eb27
@ -409,6 +409,7 @@ begin
|
||||
else
|
||||
begin
|
||||
tr.PGConn := PQconnectdb(pchar(FConnectString));
|
||||
T.FPGConn:=tr.PGConn;
|
||||
CheckConnectionStatus(tr.PGConn);
|
||||
if CharSet <> '' then
|
||||
PQsetClientEncoding(tr.PGConn, pchar(CharSet));
|
||||
|
Loading…
Reference in New Issue
Block a user