Uploaded image for project: '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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.2.1.6
    • None
    • JDBC
    • Low
    • Repro attached
    • 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.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            army A B
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: