db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r652657 - /db/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Date Thu, 01 May 2008 20:49:13 GMT
Author: kristwaa
Date: Thu May  1 13:49:12 2008
New Revision: 652657

URL: http://svn.apache.org/viewvc?rev=652657&view=rev
Log:
DERBY-3397: Derby 10.3.1.4 and 10.3.2.1 break scrollable result sets? Hibernate Query.setFirstResult
and/or setMaxResults.
Ported fix (r650783) from trunk to 10.3.

Patch contributed by Dag H. Wanvik.

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

Modified: db/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java?rev=652657&r1=652656&r2=652657&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
(original)
+++ db/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Thu May  1 13:49:12 2008
@@ -245,6 +245,7 @@
 		positionInSource = 0;
 		seenFirst = false;
 		seenLast = false;
+		maxRows = activation.getMaxRows();
 
 		openTime += getElapsedMillis(beginTime);
 		setBeforeFirstRow();



Mime
View raw message