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

SQL LENGTH function materializes CLOB into memory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.3.0, 10.4.1.3, 10.5.1.1
    • Fix Version/s: 10.3.3.1, 10.4.2.0, 10.5.1.1
    • Component/s: SQL
    • Labels:
      None
    • Issue & fix info:
      High Value Fix

      Description

      Similar to DERBY-3732, the SQL LENGTH function also materializes CLOB's into memory. See attached repro.

        Attachments

        1. ClobMemTest.java
          8 kB
          Suran Jayathilaka
        2. derby.log
          179 kB
          Suran Jayathilaka
        3. derby-3741_multibyteclobtest_update_diff.txt
          8 kB
          Katherine Marsden
        4. derby-3741-1.diff
          11 kB
          Suran Jayathilaka
        5. derby-3741-2.diff
          11 kB
          Suran Jayathilaka
        6. derby-3741-mergeto-10.4.diff
          142 kB
          Suran Jayathilaka
        7. derby-3741-mergeto-10.4-new.diff
          142 kB
          Suran Jayathilaka
        8. derby-3741-multibyte_test.diff
          7 kB
          Suran Jayathilaka
        9. LargeLengthClob.zip
          1 kB
          Katherine Marsden

          Issue Links

            Activity

              People

              • Assignee:
                suranjay Suran Jayathilaka
                Reporter:
                kmarsden Katherine Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: