[Mono-bugs] [Bug 443131] New: [2.0] SqlConnection. ClearPool does not close free connections

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 8 12:41:46 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=443131


           Summary: [2.0] SqlConnection.ClearPool does not close free
                    connections
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: gert.driesen at pandora.be
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Apparently, our implementation of SqlConnection.ClearPool does not close a
pooled connection that is not in used.

Also, pooled connections that are in used at the time when ClearPool is invoked
should be marked as non-pooled so that the connection is closed (and not
returned to the pool) when Close is invoked.

I'll fix this later and commit a correspondig unit test.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list