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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.5.1.1
    • Test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: