[
https://issues.apache.org/jira/browse/DERBY-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Waagan resolved DERBY-3768.
------------------------------------
Resolution: Fixed
Fix Version/s: 10.4.1.4
Backported patches 1b and 2a to 10.4 with revision 677578.
> Make EmbedBlob.length use skip instead of read
> ----------------------------------------------
>
> Key: DERBY-3768
> URL: https://issues.apache.org/jira/browse/DERBY-3768
> Project: Derby
> Issue Type: Improvement
> Components: JDBC
> Affects Versions: 10.5.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Fix For: 10.4.1.4, 10.5.0.0
>
> Attachments: derby-3768-1a-length_skip.diff,
> derby-3768-1b-length_skip.diff, derby-3768-2a-misc_fixes.diff
>
>
> EmbedBlob.length uses read to process the whole Blob when the length has not
> been encoded at the head of the stream.
> Using skip instead of read can lead to better performance.
> I also plan to make some minor cleanups under this issue; JavaDoc and to
> rename a variable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.