FbConnection.ClearPool (cnn) doesn't work -----------------------------------------
Key: DNET-568 URL: http://tracker.firebirdsql.org/browse/DNET-568 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 4.5.1.0 Reporter: Fernando Nájera Assignee: Jiri Cincura I think there's an error in the implementation of FbConnection.ClearPool(cnn). It is currently implemented as FbConnectionPoolManager.Instance.ClearPool(connection.ConnectionString); I think it should be FbConnectionPoolManager.Instance.ClearPool(connection.NormalizedConnectionString); FbConnectionPoolManager keeps internally a dictionary based on normalized cnn strings, and if you pass just the cnn string, it won't find the corresponding pool, and the call to ClearPool() will be basically a NOP. The workaround is to call ClearAllPools() instead, but that does clean more than requested/needed. -- 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 ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider