Derby
  1. Derby
  2. DERBY-2349

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.6.1.0
    • Component/s: SQL
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      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.

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12397677 ] Default workflow, editable Closed status [ 12802683 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kristian Waagan made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Resolution Fixed [ 1 ]
          Rick Hillegas made changes -
          Bug behavior facts [Data corruption]
          Urgency Normal
          Issue & fix info [Repro attached]
          Kathey Marsden made changes -
          Link This issue is related to DERBY-3645 [ DERBY-3645 ]
          Mamta A. Satoor made changes -
          Field Original Value New Value
          Attachment DERBY_2349_Repro.java [ 12368833 ]
          Daniel John Debrunner created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development