db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r414199 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Stream.java
Date Wed, 14 Jun 2006 11:23:23 GMT
Author: tmnk
Date: Wed Jun 14 04:23:23 2006
New Revision: 414199

URL: http://svn.apache.org/viewvc?rev=414199&view=rev
Log:
- TestDataReader class in jdbcapi/Stream.java creates test data of which length is not equals
to value passed as length of test data. - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Stream.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Stream.java?rev=414199&r1=414198&r2=414199&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Stream.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Stream.java
Wed Jun 14 04:23:23 2006
@@ -336,7 +336,7 @@
 	    int i;
 	    for(i = off ;
 		i < off + len &&
-		    wroteLength <= total ;
+		    wroteLength < total ;
 		i++, wroteLength ++){
 		
 		cbuf[i] = (char) (wroteLength % 0x10000L);



Mime
View raw message