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

LOBStreamControl.truncate() doesn't delete temporary files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4, 10.4.2.0
    • Fix Version/s: 10.3.3.1, 10.4.2.1, 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None

      Description

      If LOBStreamControl.truncate() reduces the size of the lob so that it fits in the internal buffer, it closes the temporary file, but it doesn't remove it. See the attached Java class (TruncateClob.java) which fills the tmp directory with temporary lob files, even if each lob is explicitly freed.

        Attachments

        1. TruncateClob.java
          0.7 kB
          Knut Anders Hatlen
        2. derby-3889-1a.diff
          4 kB
          Knut Anders Hatlen
        3. derby-3889-1a.stat
          0.1 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: