You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2012/11/06 09:56:14 UTC
[jira] [Commented] (OAK-423) Query:
org.apache.jackrabbit.oak.spi.query.Cursor.currentRow called too late
[ https://issues.apache.org/jira/browse/OAK-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491327#comment-13491327 ]
Marcel Reutegger commented on OAK-423:
--------------------------------------
Committed a quick fix in revision 1406073 to make tests work with changes I have ready for OAK-388. The fix might not be complete and this issue requires more changes in other areas. I'll therefore leave this issue open.
> Query: org.apache.jackrabbit.oak.spi.query.Cursor.currentRow called too late
> ----------------------------------------------------------------------------
>
> Key: OAK-423
> URL: https://issues.apache.org/jira/browse/OAK-423
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
>
> Some join conditions call currentRow() on a Cursor when the next() method already returned false. This is wrong.
> Now that we have IndexRow class, it would make sense to use Iterator<IndexRow> instead of a separate Cursor class. I believe this would also solve the above problem, and possibly would make the code easier to understand.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira