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

runtimestatistics can show that an index is being used even when it isn't

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1
    • 10.2.1.6
    • SQL
    • None

    Description

      The patch for DERBY-578 also fixes an issue that runtimestatistics may print that an index is being used, even when it isn't. Here is the explanation from DERBY-578.

      Earlier, we would set the indexName field in DistinctScanResult to the conglomerate name (cd.getName()) used to scan the table. If the conglomerate was the base table itself then this was just plain wrong. The change, for this patch, passes null if no index is being used.

      This bug should be marked fixed when DERBY-578 is checked in.

      Attachments

        Issue Links

          Activity

            People

              mkhettry Manish Khettry
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: