manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1443655 - /manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java
Date Thu, 07 Feb 2013 18:50:18 GMT
Author: kwright
Date: Thu Feb  7 18:50:17 2013
New Revision: 1443655

URL: http://svn.apache.org/r1443655
Log:
Probable fix for CONNECTORS-638.

Modified:
    manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java

Modified: manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java?rev=1443655&r1=1443654&r2=1443655&view=diff
==============================================================================
--- manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java
(original)
+++ manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java
Thu Feb  7 18:50:17 2013
@@ -195,6 +195,7 @@ public class ConnectionPool
         Connection c = freeConnections[i];
         freeConnections[i] = null;
         freePointer--;
+        activeConnections--;
         if (freePointer == i)
         {
           freeConnections[i] = null;
@@ -213,7 +214,6 @@ public class ConnectionPool
         {
           Logging.db.warn("Error closing pooled connection: "+e.getMessage(),e);
         }
-        freePointer--;
       }
       else
         i++;



Mime
View raw message