You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2013/02/07 19:50:18 UTC
svn commit: r1443655 -
/manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/jdbcpool/ConnectionPool.java
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++;