db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1336197 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java
Date Wed, 09 May 2012 13:30:40 GMT
Author: kristwaa
Date: Wed May  9 13:30:40 2012
New Revision: 1336197

URL: http://svn.apache.org/viewvc?rev=1336197&view=rev
Log:
Added a comment about the istat daemon.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.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=1336197&r1=1336196&r2=1336197&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
Wed May  9 13:30:40 2012
@@ -14233,6 +14233,10 @@ public final class	DataDictionaryImpl
 
     /** {@inheritDoc} */
     public boolean doCreateIndexStatsRefresher() {
+        // Note that we are using the index refresher to serve explicit calls
+        // to SYSCS_UTIL.SYSCS_UPDATE_STATISTICS. This means that we must
+        // always create the daemon (unless the database is read-only) even if
+        // automatic updates of the cardinality statistics are disabled.
         return (indexRefresher == null);
     }
 



Mime
View raw message