summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2012-03-13 04:52:55 (EDT)
committer mwu2012-03-13 04:52:55 (EDT)
commitf20e121ee36be1ade56b00d33b8deb192e054e7e (patch)
tree3b25e514bcf20d105aa2c900c44b8fb9099b907f
parent3f3c58cec2612da4dbba1555681cf509debb25da (diff)
downloadorg.eclipse.birt-f20e121ee36be1ade56b00d33b8deb192e054e7e.zip
org.eclipse.birt-f20e121ee36be1ade56b00d33b8deb192e054e7e.tar.gz
org.eclipse.birt-f20e121ee36be1ade56b00d33b8deb192e054e7e.tar.bz2
switch "recalculate totals", but same result in DA [48321]
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeQueryDefinitionUtil.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeQueryDefinitionUtil.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeQueryDefinitionUtil.java
index 5de06fa..2026fdb 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeQueryDefinitionUtil.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeQueryDefinitionUtil.java
@@ -220,6 +220,10 @@ public class CubeQueryDefinitionUtil
{
return false;
}
+ if ( fd1.updateAggregation( ) != fd2.updateAggregation( ) )
+ {
+ return false;
+ }
if ( fd1 instanceof ICubeSortDefinition )
{
ICubeFilterDefinition cfd1 = (ICubeFilterDefinition)fd1;