Connection pool manager error under adverse conditions
------------------------------------------------------
Key: DNET-211
URL: http://tracker.firebirdsql.org/browse/DNET-211
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Environment: All
Reporter: Gareth Goslett
Assignee: Jiri Cincura
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider