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 06:16:42 UTC

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

Author: djd
Date: Sun Feb 11 21:16:41 2007
New Revision: 506284

URL: http://svn.apache.org/viewvc?view=rev&rev=506284
Log:
Missed closing one prepared statement 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=506284&r1=506283&r2=506284
==============================================================================
--- 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 Sun Feb 11 21:16:41 2007
@@ -415,6 +415,7 @@
             ps.setString(1, new Integer(i).toString());
             ps.executeUpdate();     
         }
+        ps.close();
 
         ps = prepareStatement(
             "insert into assocout select x from assoc where x like ?");