summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpshi2011-11-04 05:18:00 (EDT)
committer mwu2011-11-04 05:18:00 (EDT)
commite47d83de98ae4d0bcf9b44caa22011629e31d9b7 (patch)
tree2f0069a5190df54f247dab0234713c9ad1c645ed
parentd2a50105247bc3cbcd1faf469c4b965f08638167 (diff)
downloadorg.eclipse.birt-e47d83de98ae4d0bcf9b44caa22011629e31d9b7.zip
org.eclipse.birt-e47d83de98ae4d0bcf9b44caa22011629e31d9b7.tar.gz
org.eclipse.birt-e47d83de98ae4d0bcf9b44caa22011629e31d9b7.tar.bz2
fix ted 43040 bug, here disable progressive viewing
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/QueryExecutionStrategyUtil.java5
1 files changed, 5 insertions, 0 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 bd27775..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
@@ -66,6 +66,11 @@ public final class QueryExecutionStrategyUtil
{
SortingOptimizer opt = new SortingOptimizer( dataSet, query );
+ // for ted 43040 disable progressive viewing, will fix this problem in 11sp4M2
+ if ( session.getEngineContext( ).getMode( ) == DataEngineContext.DIRECT_PRESENTATION )
+ {
+ return Strategy.Complex;
+ }
if ( session.getEngineContext( ).getMode( ) == DataEngineContext.MODE_UPDATE )
return Strategy.Complex;
if ( query.getGroups( ) != null && query.getGroups( ).size( ) > 0 )