[
https://issues.apache.org/jira/browse/DERBY-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272566#comment-13272566
]
Mamta A. Satoor commented on DERBY-4834:
----------------------------------------
Hi Kristian, I am thinking of backporting this utility to 10.6 and earlier
releases. Do you forsee any issue with backporting? I am working on backporting
DERBY-5681(When a foreign key constraint on a table is dropped, the associated
statistics row for the conglomerate is not removed) and it will be very useful
to have the index statistics utility for the tests added for DERBY-5681.
I think following 4 checkins were made for index statistics helper class
1005347
1031559
1041374
1042537
> Add helper class for working with index statistics in JUnit tests
> -----------------------------------------------------------------
>
> Key: DERBY-4834
> URL: https://issues.apache.org/jira/browse/DERBY-4834
> Project: Derby
> Issue Type: Sub-task
> Components: Test
> Affects Versions: 10.7.1.1
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Fix For: 10.8.1.2
>
> Attachments: derby-4834-1a-indexstats_utility_class.diff,
> derby-4834-2a-assertNoStatsTable.diff, derby-4834-3a-timeout.diff,
> derby-4834-4a-toString_leading_cols.diff
>
>
> Dealing with index statistics in the JUnit tests require some tedious work,
> like looking up table and index ids, doing selects on the SYS.SYSSTATISTICS
> table, and analyzing the results of these queries.
> To make life easer and the tests easier to read, a set of utility methods
> will be added to a new class living in the JUnit test framework package.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira