You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2012/05/22 23:02:14 UTC
svn commit: r1341622 -
/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java
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;