db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r538653 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java
Date Wed, 16 May 2007 17:20:29 GMT
Author: kahatlen
Date: Wed May 16 10:20:28 2007
New Revision: 538653

URL: http://svn.apache.org/viewvc?view=rev&rev=538653
Log:
Make JDBC.assertUnorderedResultSet() work on empty result sets.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java?view=diff&rev=538653&r1=538652&r2=538653
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java Wed May 16 10:20:28
2007
@@ -935,6 +935,7 @@
 
         if (expectedRows.length == 0) {
             assertEmpty(rs);
+            return;
         }
 
         ResultSetMetaData rsmd = rs.getMetaData();



Mime
View raw message