summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2012-01-18 22:10:53 (EST)
committer xgu2012-01-30 02:00:35 (EST)
commita977c7d82ce0b3b59c8ae7adbd6699104c8d6bd7 (patch)
tree4f3e963aedbc9fb1bfa8f7700192264033f01dbb
parent0370a110b85dc781eb5785f7789b6278785eb502 (diff)
downloadorg.eclipse.birt-a977c7d82ce0b3b59c8ae7adbd6699104c8d6bd7.zip
org.eclipse.birt-a977c7d82ce0b3b59c8ae7adbd6699104c8d6bd7.tar.gz
org.eclipse.birt-a977c7d82ce0b3b59c8ae7adbd6699104c8d6bd7.tar.bz2
Checkin: non-recalcuate filter on derived measure don't work [46802]
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
index b0fd23a..fc872e2 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
@@ -483,6 +483,15 @@ public class AggregationFilterHelper
result[i] = newAggrResultSet;
affectedAggrResultSetIndex.add( Integer.valueOf( i ) );
}
+ else if ( filtered && levelFilterList.size( ) == 0 )
+ {
+ IAggregationResultSet newAggrResultSet = new AggregationResultSet(rs[i].getAggregationDefinition( ),
+ rs[i].getAllLevels( ), new BufferedStructureArray( AggregationResultRow.getCreator( ),
+ rs[i].length( ) ),
+ rs[i].getKeyNames( ), rs[i].getAttributeNames( ));
+ result[i] = newAggrResultSet;
+ affectedAggrResultSetIndex.add( Integer.valueOf( i ) );
+ }
else
{
result[i] = rs[i];