* Correction in connection pooling, we were leaking connections

git-svn-id: trunk@25522 -
This commit is contained in:
michael 2013-09-19 06:56:53 +00:00
parent 81b6e1b9d9
commit a814e0eb27

View File

@ -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));