db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r506284 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BatchUpdateTest.java
Date Mon, 12 Feb 2007 05:16:42 GMT
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 ?");



Mime
View raw message