Bug #26846 MySqlClient/ADO.NET 2.0/Connection.Dispose()/Not Remove From Connection Polling
Submitted: 5 Mar 2007 19:11 Modified: 7 Mar 2007 16:23
Reporter: djam djam Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S5 (Performance)
Version:5.0.3 OS:Windows (Windows XP Pro EN)
Assigned to: CPU Architecture:Any
Tags: Connection.Dispose;ADO.NET 2.0;MySqlClient

[5 Mar 2007 19:11] djam djam
Description:
I Have a Connection String Like this: 

"Server=******;
User Id=****;
Password=****;
Database=******;
Pooling=True;
compress=True;
allow batch=True"

So When i Call the Dispose method of the connection Object, this is not remove the connection from the Poll on the MySQL Server Database.

How to repeat:
This is very easy....
[7 Mar 2007 16:23] Reggie Burnett
This is not a bug.  Calling Dispose on the connection simply returns it to the pool and does not actually free the connection to the MySQL server.