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

SQL LENGTH function materializes CLOB into memory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.3.0, 10.4.1.3, 10.5.1.1
    • 10.3.3.1, 10.4.2.0, 10.5.1.1
    • SQL
    • None
    • High Value Fix

    Description

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

      Attachments

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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment