summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel.cui2012-01-13 01:12:53 (EST)
committer mwu2012-01-13 01:12:53 (EST)
commit44c2ff02966113f543d45364e818084a9a81a472 (patch)
treedaaa64224b66b64d82eea3d2d02e0054a3892fd3
parent1ff3ac1cb72051344cb9c31eca8c6b53fa11ddea (diff)
downloadorg.eclipse.birt-44c2ff02966113f543d45364e818084a9a81a472.zip
org.eclipse.birt-44c2ff02966113f543d45364e818084a9a81a472.tar.gz
org.eclipse.birt-44c2ff02966113f543d45364e818084a9a81a472.tar.bz2
Summary:
Description of Issue: Using a formula as a group binding does not work correctly. Description of Resolution: Have not fixed, so resume the old version of code. Bugzilla/TED Entry(ies) Resolved: Regression (Yes/No): No Code Owner Team: Code Reviewers: Project ID: 1476 Manual Tests Description: Automated Test Cases Executed: None. Special Notes: None. Files Edited: org.eclipse.birt.data.engine.executor.QueryExecutionStrategyUtil Files Added: None. Files Deleted: None.
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java
index 898106b..3c51e75 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java
@@ -111,11 +111,6 @@ public final class QueryExecutionStrategyUtil
}
boolean hasAggregation = false;
- boolean hasGroup = false;
- if( query.getGroups()!=null && query.getGroups().size()>0)
- {
- hasGroup = true;
- }
if ( query.getBindings( ) != null )
{
@@ -214,6 +209,6 @@ public final class QueryExecutionStrategyUtil
}
}
- return (hasAggregation||hasGroup)?Strategy.SimpleLookingFoward:Strategy.SimpleNoLookingFoward;
+ return hasAggregation?Strategy.SimpleLookingFoward:Strategy.SimpleNoLookingFoward;
}
}