Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4023

Improve length caching in TemporaryClob

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.2.0, 10.5.1.1
    • Fix Version/s: 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None
    • Bug behavior facts:
      Performance

      Description

      TemporaryClob doesn't save the known length of the Clob in all situations.
      The following places in the code should be improved (some easier than others):
      a) TemporaryClob(String,ConChild)
      b) copyClobContent(InternalClob,long) (non-static)
      c) copyClobContent(InternalClob) (non-static)

      There might be additional places to fix too.

        Attachments

        1. derby-4023-1a-cache_length_simple.diff
          1 kB
          Kristian Waagan
        2. derby-4023-2a-utf8_aware_copy_content.diff
          8 kB
          Kristian Waagan

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: