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

Accessing a BLOB column twice in an INSERT trigger leads to errors in the value on-disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.6.1.0
    • SQL
    • None
    • Normal
    • Repro attached
    • Data corruption

    Description

      Either the BLOB is stored with the incorrect value or the value on disk does not match the stored length on disk and an exception is raised. The BLOB was supplied as a stream value.

      See this with the new TriggersTest. The text fixture will have a comment with this bug number showing how to reproduce the problem.

      Attachments

        1. DERBY_2349_Repro.java
          6 kB
          Mamta A. Satoor

        Issue Links

          Activity

            People

              Unassigned Unassigned
              djd Daniel John Debrunner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: