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

Improve length caching in TemporaryClob

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.2.0, 10.5.1.1
    • 10.5.1.1
    • JDBC
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: