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 -
This commit is contained in:
ludob 2013-07-14 13:08:06 +00:00
parent 6be738f256
commit d03262d39a

View File

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