Explorar o código

pqconnection: changed FCursorCount to dword to avoid 'prepared statement already exists' errors when preparing more than 64k queries in one transaction while keeping one ore more queries open

git-svn-id: trunk@25099 -
ludob %!s(int64=12) %!d(string=hai) anos
pai
achega
d03262d39a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-db/src/sqldb/postgres/pqconnection.pp

+ 1 - 1
packages/fcl-db/src/sqldb/postgres/pqconnection.pp

@@ -51,7 +51,7 @@ type
   TPQConnection = class (TSQLConnection)
   private
     FConnectionPool      : array of TPQTranConnection;
-    FCursorCount         : word;
+    FCursorCount         : dword;
     FConnectString       : string;
     FIntegerDateTimes    : boolean;
     FVerboseErrors       : Boolean;