List:Commits« Previous MessageNext Message »
From:rburnett Date:May 20 2008 6:32pm
Subject:Connector/NET commit: r1300 - in branches/5.1: . Driver/Source
View as plain text  
Modified:
   branches/5.1/CHANGES
   branches/5.1/Driver/Source/MySqlPool.cs
Log:
 - Fixed problem with pooling code where connections pooled from the pool were added
   twice to the in use pool.  This would cause a semaphore full exception
   when an attempt is made to release them back to the pool (bug #36688)


Modified: branches/5.1/CHANGES
===================================================================
--- branches/5.1/CHANGES	2008-05-20 15:15:11 UTC (rev 1299)
+++ branches/5.1/CHANGES	2008-05-20 18:32:46 UTC (rev 1300)
@@ -1,6 +1,9 @@
 Version 5.1.7
  - Fixed problem with DDEX provider that could sometimes prevent table altering when working with
    4.1 servers (bug #30603)
+ - Fixed problem with pooling code where connections pooled from the pool were added
+   twice to the in use pool.  This would cause a semaphore full exception
+   when an attempt is made to release them back to the pool (bug #36688)
 
 Version 5.1.6 - 5/7/08
  - Fixed problem where parameters lists were not showing when you tried to alter a routine 

Modified: branches/5.1/Driver/Source/MySqlPool.cs
===================================================================
--- branches/5.1/Driver/Source/MySqlPool.cs	2008-05-20 15:15:11 UTC (rev 1299)
+++ branches/5.1/Driver/Source/MySqlPool.cs	2008-05-20 18:32:46 UTC (rev 1300)
@@ -140,7 +140,6 @@
             else
                 driver = CheckoutConnection();
             Debug.Assert(driver != null);
-            inUsePool.Add(driver);
             return driver;
         }
 

Thread
Connector/NET commit: r1300 - in branches/5.1: . Driver/Sourcerburnett20 May