You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by mi...@apache.org on 2008/05/28 00:11:19 UTC
svn commit: r660744 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Derby3650Test.java
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();