db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Resolved: (DERBY-992) A corner case bug and missing optimization in ScrollInsensitiveResultSet
Date Wed, 15 Mar 2006 13:19:03 GMT
     [ http://issues.apache.org/jira/browse/DERBY-992?page=all ]
     
Knut Anders Hatlen resolved DERBY-992:
--------------------------------------

    Fix Version: 10.2.0.0
     Resolution: Fixed

The patch looks good. Verified that the test case failed without the
patch applied. Derbyall had a failure in
encryptionAll/encryptionDES/access.diff, but it is also seen in some
of the nightly regression tests.

Committed revision 386068.

> 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


Mime
View raw message