Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv8998
Modified Files:
ConnectionPool.java
Log Message:
Fix for incorrect OFFLINE count when house keeper removed a connection if the test SQL failed. This
meant that the offline count went negative. The only consequence of that is that the logs look funny.
Index: ConnectionPool.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/ConnectionPool.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -d -r1.67 -r1.68
*** ConnectionPool.java 30 Aug 2003 14:54:04 -0000 1.67
--- ConnectionPool.java 20 Sep 2003 17:04:06 -0000 1.68
***************
*** 340,344 ****
if (forceExpiry || proxyConnection.isNull()) {
! proxyConnection.setStatus(ProxyConnectionIF.STATUS_OFFLINE);
/* Run some code everytime we destroy a connection */
--- 340,344 ----
if (forceExpiry || proxyConnection.isNull()) {
! proxyConnection.setStatus(ProxyConnectionIF.STATUS_NULL);
/* Run some code everytime we destroy a connection */
***************
*** 358,362 ****
try {
- proxyConnection.setStatus(ProxyConnectionIF.STATUS_NULL);
// If we're shutting down then getting a write lock will cause a deadlock
if (isConnectionPoolUp()) {
--- 358,361 ----
***************
*** 1047,1050 ****
--- 1046,1053 ----
Revision history:
$Log$
+ Revision 1.68 2003/09/20 17:04:06 billhorsman
+ Fix for incorrect OFFLINE count when house keeper removed a connection if the test SQL failed. This
+ meant that the offline count went negative. The only consequence of that is that the logs look funny.
+
Revision 1.67 2003/08/30 14:54:04 billhorsman
Checkstyle
|