db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r660744 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java
Date Tue, 27 May 2008 22:11:19 GMT
Author: mikem
Date: Tue May 27 15:11:19 2008
New Revision: 660744

URL: http://svn.apache.org/viewvc?rev=660744&view=rev
Log:
DERBY-3650 - test only fix.  The test was verifying a clob after freeing it, 
changed the clob test case to match the logic of the blob test case where
it verified before possibly freeing and committing it.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java?rev=660744&r1=660743&r2=660744&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java
Tue May 27 15:11:19 2008
@@ -72,11 +72,11 @@
         ResultSet rs = ps.executeQuery();
         while (rs.next()) {
             Clob clob = rs.getClob(1);
+            verify40KClob(clob.getCharacterStream());
             if (freelob)
                 clob.free();
             if (commitAfterLobVerify)
                 commit();
-            verify40KClob(clob.getCharacterStream());
         }
         rs.close();
         rs = ps.executeQuery();



Mime
View raw message