db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1341622 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java
Date Tue, 22 May 2012 21:02:14 GMT
Author: kristwaa
Date: Tue May 22 21:02:14 2012
New Revision: 1341622

URL: http://svn.apache.org/viewvc?rev=1341622&view=rev
Log:
DERBY-5680: indexStat daemon processing tables over an over even when there are no changes
in the tables

Removed redundant check.

Patch file: derby-5680-2a-remove_redundant_check.diff

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java?rev=1341622&r1=1341621&r2=1341622&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java
Tue May 22 21:02:14 2012
@@ -484,9 +484,6 @@ public class IndexStatisticsDaemonImpl
                 UUID referencedIndex = stats[si].getReferenceID();
                 boolean isValid = false;
                 for (int ci=0; ci < conglomerateNumber.length; ci++) {
-                    if (conglomerateNumber[ci] == -1) {
-                        continue;
-                    }
                     if (referencedIndex.equals(objectUUID[ci])) {
                         isValid = true;
                         break;



Mime
View raw message