summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntje Fuhrmann2012-09-17 02:33:30 (EDT)
committerStephan Born2012-09-17 02:33:30 (EDT)
commit798f101363a0766b8d3b90d2c540178df061d09e (patch)
treea6497f0120c481bdf1a87127d5feff16f9195281
parentcc77470dbf21be57485ddabd52161b1f454513a6 (diff)
downloadorg.eclipse.stardust.engine-798f101363a0766b8d3b90d2c540178df061d09e.zip
org.eclipse.stardust.engine-798f101363a0766b8d3b90d2c540178df061d09e.tar.gz
org.eclipse.stardust.engine-798f101363a0766b8d3b90d2c540178df061d09e.tar.bz2
Jira-ID: CRNT-25926
Carnot.Engine.Tuning.Query.DescriptorPrefetchDataDiscriminationThreshold=0 behaves unexpected git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@59247 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/ProcessQueryPostprocessor.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/ProcessQueryPostprocessor.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/ProcessQueryPostprocessor.java
index 8b1ab66..15c47da 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/ProcessQueryPostprocessor.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/ProcessQueryPostprocessor.java
@@ -969,9 +969,12 @@ public class ProcessQueryPostprocessor
timeout, prefetchNParallelData, prefetchNParallelInstances,
prefetchDataDiscriminationThreshold);
}
- performPrefetchStructured(dataRtOidsStructured, nData, piSet, timeout,
- prefetchNParallelData, prefetchNParallelInstances,
- prefetchDataDiscriminationThreshold);
+ if (!dataRtOidsStructured.isEmpty())
+ {
+ performPrefetchStructured(dataRtOidsStructured, nData, piSet, timeout,
+ prefetchNParallelData, prefetchNParallelInstances,
+ prefetchDataDiscriminationThreshold);
+ }
}
}
}