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

Runtime statistics not collected on re-execution of statement

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.5.2.0, 10.6.1.0
    • Component/s: SQL
    • Labels:
      None
    • Bug behavior facts:
      Regression

      Description

      Runtime statistics are only collected the first time an insert/update/delete statement is executed. The behaviour changed between Derby 10.2.2.0 and Derby 10.3.1.4, so this was likely introduced by DERBY-827.

      Reported on derby-dev:
      http://mail-archives.apache.org/mod_mbox/db-derby-dev/200904.mbox/%3c8a0216de0904291334j4bc715c3s6d46fb65e5953659@mail.gmail.com%3e

        Attachments

        1. addXPLAINTest.diff
          4 kB
          Bryan Pendleton
        2. addXPLAINTestUsingCOUNT.diff
          4 kB
          Bryan Pendleton
        3. d4204.diff
          5 kB
          Knut Anders Hatlen
        4. repro.sql
          0.3 kB
          Knut Anders Hatlen
        5. test.diff
          4 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: