db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3970) PositionedStoreStream doesn't initialize itself properly
Date Wed, 10 Dec 2008 14:04:46 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-3970:

    Fix Version/s:

Backported fix 1a to 10.4 with revision 725286.
Regression tests ran cleanly on the 10.4 branch.

> PositionedStoreStream doesn't initialize itself properly
> --------------------------------------------------------
>                 Key: DERBY-3970
>                 URL: https://issues.apache.org/jira/browse/DERBY-3970
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions:,,
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For:,
>         Attachments: derby-3970-1a-PositionedStoreStream_init.diff.txt
> When a PositionedStoreStream is created on top of a stream from store, it must properly
initialize itself.
> Proper initialization consists of initializing and resetting the stream to make sure
the states of the streams are in sync.
> A case of out of sync stream states was detected in a test where the Clob reference wasn't
kept, but a new Clob object was created for each operation, i.e:
>   rs.getClob(1).length();
>   rs.getClob(1).getSubString(...);
> A symptom of out of sync stream states is EOFException on a valid request.
> I don't think the access style above is supposed to work, but the proper initialization
should be performed anyway.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message