db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r476201 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
Date Fri, 17 Nov 2006 16:33:31 GMT
Author: djd
Date: Fri Nov 17 08:33:30 2006
New Revision: 476201

URL: http://svn.apache.org/viewvc?view=rev&rev=476201
Log:
Close a PreparedStatement in SURTest.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java?view=diff&rev=476201&r1=476200&r2=476201
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
Fri Nov 17 08:33:30 2006
@@ -989,6 +989,7 @@
         ps.setInt(2, primaryKey);
         assertEquals("Expected one row to be updated", 1,
                      ps.executeUpdate());
+        ps.close();
         rs.updateInt(1, primaryKey*10);
         rs.updateInt(2, -555);
         rs.updateInt(3, -777);



Mime
View raw message