Jelajahi Sumber

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 12 tahun lalu
induk
melakukan
d03262d39a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;