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

Clob.truncate(long) in the client driver doesn't update the cached Clob length

    XMLWordPrintableJSON

    Details

      Description

      The client driver caches the Clob length, but doesn't update it when Clob.truncate is called.

      I will attach a few regression tests, where one of them demonstrates the issue. The fix is also very simple; update the cached length.

        Attachments

        1. derby-3978-2a-update_length.diff
          0.9 kB
          Kristian Waagan
        2. derby-3978-1a-regression_tests.diff
          5 kB
          Kristian Waagan

          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: