You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Junjie Peng (JIRA)" <ji...@apache.org> on 2008/08/11 16:37:44 UTC

[jira] Updated: (DERBY-3831) RuntimeStatisticsParser can not distinguish names of table or index well and truly

     [ https://issues.apache.org/jira/browse/DERBY-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Junjie Peng updated DERBY-3831:
-------------------------------

    Attachment: derby-3831-1.patch
                derby-3831-1.stat

> RuntimeStatisticsParser can not distinguish names of table or index well and truly
> ----------------------------------------------------------------------------------
>
>                 Key: DERBY-3831
>                 URL: https://issues.apache.org/jira/browse/DERBY-3831
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Junjie Peng
>            Assignee: Junjie Peng
>         Attachments: derby-3831-1.patch, derby-3831-1.stat
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.