db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From be...@apache.org
Subject svn commit: r405736 - /db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Date Wed, 10 May 2006 12:34:53 GMT
Author: bernt
Date: Wed May 10 05:34:52 2006
New Revision: 405736

URL: http://svn.apache.org/viewcvs?rev=405736&view=rev
Log:
DERBY-795 Trivial reimplemntation for 10.1 branch (merge not possible)

Modified:
    db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java

Modified: db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
URL: http://svn.apache.org/viewcvs/db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java?rev=405736&r1=405735&r2=405736&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
(original)
+++ db/derby/code/branches/10.1/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Wed May 10 05:34:52 2006
@@ -334,8 +334,7 @@
 		// Return the current row for 0
 		if (row == 0)
 		{
-                    if ((beforeFirst || afterLast) ||
-                        (!beforeFirst && !afterLast)) {
+                    if (beforeFirst || afterLast || currentPosition==0) {
                         return null;
                     } else {
 			return getRowFromHashTable(currentPosition);



Mime
View raw message