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-4245) Sorting a table containing a CLOB fails after upgrade to 10.5
Date Mon, 15 Jun 2009 14:10:07 GMT

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

Kristian Waagan updated DERBY-4245:

    Attachment: derby-4245-3a-unread_bytes_fix.diff

Patch 3a is the first revision of a fix for the issue seen for upgraded databases.
The regression tests passed.

Before I commit this I need to see if I understand exactly why the failure occurred. Specifically,
I have to verify my own claim about the BufferedInputStream. It may be that there shouldn't
be a buffered stream here. This won't affect the problem with LimitInputStream and mark/reset,
but it may be an issue worth fixing anyway. I don't think there is a reason to buffer streams
serving bytes from the pages in the page cache.

Patch ready for initial review.

> Sorting a table containing a CLOB fails after upgrade to 10.5
> -------------------------------------------------------------
>                 Key: DERBY-4245
>                 URL: https://issues.apache.org/jira/browse/DERBY-4245
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Kristian Waagan
>             Fix For:,
>         Attachments: derby-4245-0a-preview.diff, derby-4245-1a-test.diff, derby-4245-1b-test.diff,
derby-4245-2a-sqlclob_fix.diff, derby-4245-3a-unread_bytes_fix.diff, MixedVersionClob.java
> When sorting a table containing a CLOB column in a database that has been soft-upgraded
from to, the query fails with a NullPointerException.
> Reported on derby-user: http://mail-archives.apache.org/mod_mbox/db-derby-user/200905.mbox/%3ckk5ivy.tcwvy@email.bg%3e

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

View raw message