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.5.0.0


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.

Reply via email to