db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r614313 - /db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java
Date Tue, 22 Jan 2008 20:38:20 GMT
Author: kmarsden
Date: Tue Jan 22 12:38:18 2008
New Revision: 614313

URL: http://svn.apache.org/viewvc?rev=614313&view=rev
Log:
DERBY-3323 ComparisonFailure in derbyStress
port revision 314277 from trunk


Modified:
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java

Modified: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java?rev=614313&r1=614312&r2=614313&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java
(original)
+++ db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/derbyStress.java
Tue Jan 22 12:38:18 2008
@@ -161,9 +161,14 @@
                   //rs.close();
                   //s.close();
           }    
+          // close the connection to free up all the result sets that our sloppy 
+          // user didn't close.
+          conn.close();
+          conn = ij.startJBMS();
           s = conn.createStatement();
           s.executeUpdate("DROP TABLE TAB");
           s.close();
+          conn.close();
        }
       
 }



Mime
View raw message