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

RuntimeStatisticsParser can not distinguish names of table or index well and truly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.5.1.1
    • Component/s: Test
    • Labels:
      None
    • Issue & fix info:
      Patch Available

      Description

      RuntimeStatisticsParser can not distinguish names of table or index well and truly.

      i.e. there are two indexes t1_c1c2 and t1_c1 on table t1. Execute "select * from t1 --DeRbY-pRoPeRtIeS index = t1_c1c2" on t1. Then,RuntimeStatisticsParser.usedSpecificIndexForIndexScan("T1","T1_C1C2") will return true, while RuntimeStatisticsParser.usedSpecificIndexForIndexScan("T1","T1_C1") will return true too. It's not correct.

      The similar errors also exist on usedIndexScan(), usedIndexRowToBaseRow(), usedDistinctScan() and usedTableScan() in the class of RuntimeStatisticsParser.

        Attachments

        1. derby-3831-1.patch
          2 kB
          Junjie Peng
        2. derby-3831-1.stat
          0.1 kB
          Junjie Peng

          Activity

            People

            • Assignee:
              thinkallday Junjie Peng
              Reporter:
              thinkallday Junjie Peng
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: