db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r476197 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java
Date Fri, 17 Nov 2006 16:28:43 GMT
Author: djd
Date: Fri Nov 17 08:28:42 2006
New Revision: 476197

URL: http://svn.apache.org/viewvc?view=rev&rev=476197
Log:
Close some Statement objects left open in XMLTypeAndOpsTest

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java?view=diff&rev=476197&r1=476196&r2=476197
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/XMLTypeAndOpsTest.java
Fri Nov 17 08:28:42 2006
@@ -181,6 +181,7 @@
 
         assertStatementError("42821", st,
             " insert into t1 values (1, ('hmm' || 'andstuff'))");
+        st.close();
     }
 
     /**
@@ -319,6 +320,7 @@
         assertStatementError("42X25", st, "select length(x) from t1");
         assertStatementError("42884", st,
             "select i from t1 where x like 'hmm'");
+        st.close();
     }
 
     /**
@@ -333,6 +335,7 @@
         assertStatementError("42818", st, "select i from t1 where x < x");
         assertStatementError("42818", st,
             "select i from t1 where x <> 'some char'");
+        st.close();
     }
 
     /**
@@ -405,6 +408,8 @@
         assertStatementError("42962", st,
             "declare global temporary table SESSION.xglobal (myx XML)"
             + "  not logged on commit preserve rows");
+        
+        st.close();
     }
 
     /**



Mime
View raw message