db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1042537 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java
Date Mon, 06 Dec 2010 07:40:08 GMT
Author: kristwaa
Date: Mon Dec  6 07:40:08 2010
New Revision: 1042537

URL: http://svn.apache.org/viewvc?rev=1042537&view=rev
Log:
DERBY-4834: Add helper class for working with index statistics in JUnit tests

Added number of leading columns to the toString output. Needed to easily
differentiate between the statistics objects for multi-column indexes when
dumping stats.

Patch file: derby-4834-4a-toString_leading_cols.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java?rev=1042537&r1=1042536&r2=1042537&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java Mon
Dec  6 07:40:08 2010
@@ -506,6 +506,7 @@ public class IndexStatsUtil {
             sb.append("{tableId=").append(tableId).
                     append(", tableName=").append(tableName).
                     append(", indexName=").append(indexName).
+                    append(", lcols=").append(lcols).
                     append(", rows=").append(rows).
                     append(", unique/card=").append(card).
                     append(", created=").append(created).append('}');



Mime
View raw message