Author: rhillegas Date: Thu Mar 17 20:07:48 2011 New Revision: 1082671 URL: http://svn.apache.org/viewvc?rev=1082671&view=rev Log: DERBY-5131: Re-enable istat=on as the default Derby behavior. Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java?rev=1082671&r1=1082670&r2=1082671&view=diff ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java Thu Mar 17 20:07:48 2011 @@ -641,12 +641,8 @@ public final class DataDictionaryImpl // system wide property. May be overridden by a database specific // property later on. // The default is that automatic index statistics update is enabled. - // - // Disabled for the 10.8.1 release. Will be re-enabled on the trunk. - // - indexStatsUpdateDisabled = !PropertyUtil.getSystemBoolean - ( Property.STORAGE_AUTO_INDEX_STATS, false ); - // (Property.STORAGE_AUTO_INDEX_STATS, true); + indexStatsUpdateDisabled = !PropertyUtil.getSystemBoolean( + Property.STORAGE_AUTO_INDEX_STATS, true); // See if we should enable logging of index stats activities. indexStatsUpdateLogging = PropertyUtil.getSystemBoolean( Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java?rev=1082671&r1=1082670&r2=1082671&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java Thu Mar 17 20:07:48 2011 @@ -69,8 +69,8 @@ public class _Suite extends BaseTestCase suite.addTest(IndexSplitDeadlockTest.suite()); suite.addTest(HoldCursorJDBC30Test.suite()); suite.addTest(AccessTest.suite()); - //suite.addTest(AutomaticIndexStatisticsTest.suite()); - //suite.addTest(AutomaticIndexStatisticsMultiTest.suite()); + suite.addTest(AutomaticIndexStatisticsTest.suite()); + suite.addTest(AutomaticIndexStatisticsMultiTest.suite()); suite.addTest(BTreeMaxScanTest.suite()); /* Tests that only run in sane builds */