You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a connection string with "MinPoolCount" set to more than 0 and connecting to a non-existent .FDB you can trap the File does not exist error.
If you then create the database after this error and connect the connection will fail with a hashtable "Key already exists" excption.
Cause:
The pool manager has already added an EmptyPoolEventHandler object to the Handlers hashtable for the connection string but when creating the pool, the file not found exception is generated and the pool does not gat into it's own hashtable and a subsequent connection will try to add another EmptyPoolEventHandler object and this is where it fails.
Submitted by: Gareth Goslett (gareth)
Attachments:
FbPoolManager.patch
When using a connection string with "MinPoolCount" set to more than 0 and connecting to a non-existent .FDB you can trap the File does not exist error.
If you then create the database after this error and connect the connection will fail with a hashtable "Key already exists" excption.
Cause:
The pool manager has already added an EmptyPoolEventHandler object to the Handlers hashtable for the connection string but when creating the pool, the file not found exception is generated and the pool does not gat into it's own hashtable and a subsequent connection will try to add another EmptyPoolEventHandler object and this is where it fails.
Commits: 02fd572
The text was updated successfully, but these errors were encountered: