You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik (JIRA)" <de...@db.apache.org> on 2006/03/16 02:09:58 UTC

[jira] Closed: (DERBY-992) A corner case bug and missing optimization in ScrollInsensitiveResultSet

     [ http://issues.apache.org/jira/browse/DERBY-992?page=all ]
     
Dag H. Wanvik closed DERBY-992:
-------------------------------


verified that the bug is now gone on trunk.

> A corner case bug and missing optimization in ScrollInsensitiveResultSet
> ------------------------------------------------------------------------
>
>          Key: DERBY-992
>          URL: http://issues.apache.org/jira/browse/DERBY-992
>      Project: Derby
>         Type: Bug
>   Components: JDBC
>     Versions: 10.0.2.1
>  Environment: Solaris 10/x86, Sun VM 1.4.2
>     Reporter: Dag H. Wanvik
>     Assignee: Dag H. Wanvik
>     Priority: Minor
>      Fix For: 10.2.0.0
>  Attachments: Main.java, derby-992-1.diff, derby-992-1.stat
>
> a) For a scrollable, insensitive result set (read-only) which is
>    empty, ResultSet#afterLast should have no effect, but erroneously
>    sets the internal variable afterLast to true, so that a sunsequent
>    call to ResultSet#isAfterLast will return 'true' in the embedded
>    client. It does not happen on the client driver, because it seems
>    to do some double book-keeping for this case.
> b) In ScrollInsensitiveResultSet#getNextRowCore and #getAbsoluteRow,
>    there are missing checks will cause unnecessary read (attempts)
>    from underlying result set even if end has been seen already.
>  Both would be nice to fix in preparation for DERBY-690...   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira