You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/02/12 19:18:11 UTC

svn commit: r506563 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java

Author: djd
Date: Mon Feb 12 10:18:10 2007
New Revision: 506563

URL: http://svn.apache.org/viewvc?view=rev&rev=506563
Log:
Close the secondary connections open in BatchUpdateTest.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java?view=diff&rev=506563&r1=506562&r2=506563
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java Mon Feb 12 10:18:10 2007
@@ -758,6 +758,7 @@
         stmt.close();
         stmt2.close();
         commit();
+        conn2.close();
     }
     
     /* Fixtures that test batch updates with CallableStatements */
@@ -1472,5 +1473,6 @@
 
         rollback();
         conn2.rollback();
+        conn2.close();
     }
 }