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] Resolved: (DERBY-3871) EmbedBlob.setBytes returns incorrect insertion count
Date Fri, 03 Oct 2008 13:18:44 GMT

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

Kristian Waagan resolved DERBY-3871.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.5.0.0
       Derby Info:   (was: [Patch Available])

Committed patch 1a to trunk with revision 701372.
Merge to 10.4 is clean, I plan to backport the fix later unless someone objects.

> EmbedBlob.setBytes returns incorrect insertion count
> ----------------------------------------------------
>
>                 Key: DERBY-3871
>                 URL: https://issues.apache.org/jira/browse/DERBY-3871
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.5.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.5.0.0
>
>         Attachments: BlobSetBytesTestRepro.diff, derby-3871-1a_insertion_count.diff
>
>
> EmbedBlob.setBytes returns invalid insertion counts. According to the JavaDoc, it should
return the number of bytes inserted. The current implementation seems to return the position
in the Blob after the bytes have been written.

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


Mime
View raw message