Derby
  1. Derby
  2. DERBY-1208

Attempts to reuse a prepared statement after an execution-time error causes ASSERT failure in SANE mode, but work fine in INSANE.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: None
    • Component/s: JDBC
    • Urgency:
      Low
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Seen in production

      Description

      Please see the comments in DERBY-1196 for the discussion that prompted the filing of this issue. In short, if one attempts to reuse a prepared statement with a new set of parameters after a previous call to execute that statement has failed, the result will be an ASSERT failure in SANE mode. When the same thing is done in INSANE mode, everything works as one might expect it to.

      1. 1208.diff
        6 kB
        Håvard Mork
      2. d1208.java
        3 kB
        A B
      3. derby.log
        5 kB
        A B

        Activity

        A B created issue -
        A B made changes -
        Field Original Value New Value
        Attachment derby.log [ 12325250 ]
        Attachment d1208.java [ 12325249 ]
        Håvard Mork made changes -
        Attachment 1208.diff [ 12325375 ]
        Mike Matrigali made changes -
        Derby Info [Patch Available]
        Andrew McIntyre made changes -
        Assignee Håvard Mork [ hmork ]
        Andrew McIntyre made changes -
        Assignee Håvard Mork [ hmork ]
        Kathey Marsden made changes -
        Derby Info [Patch Available]
        Rick Hillegas made changes -
        Labels derby_triage10_8
        Bug behavior facts [Seen in production]
        Issue & fix info [Repro attached]
        Rick Hillegas made changes -
        Urgency Low
        Gavin made changes -
        Workflow jira [ 12355109 ] Default workflow, editable Closed status [ 12797888 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            A B
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development