[teiid-commits] teiid SVN: r4428 - branches/7.7.x/engine/src/main/java/org/teiid/query/tempdata.
teiid-commits at lists.jboss.org
teiid-commits at lists.jboss.org
Mon Sep 10 21:57:37 EDT 2012
Author: jolee
Date: 2012-09-10 21:57:37 -0400 (Mon, 10 Sep 2012)
New Revision: 4428
Modified:
branches/7.7.x/engine/src/main/java/org/teiid/query/tempdata/IndexInfo.java
Log:
TEIID-2197 fix for ordering with an in predicate
Modified: branches/7.7.x/engine/src/main/java/org/teiid/query/tempdata/IndexInfo.java
===================================================================
--- branches/7.7.x/engine/src/main/java/org/teiid/query/tempdata/IndexInfo.java 2012-09-11 01:57:32 UTC (rev 4427)
+++ branches/7.7.x/engine/src/main/java/org/teiid/query/tempdata/IndexInfo.java 2012-09-11 01:57:37 UTC (rev 4428)
@@ -312,7 +312,9 @@
}
if (!valueSet.isEmpty()) {
LogManager.logDetail(LogConstants.CTX_DQP, "Using index value set"); //$NON-NLS-1$
- sortValueSet(direction);
+ if (ordering != null) {
+ sortValueSet(direction);
+ }
CollectionTupleSource cts = new CollectionTupleSource(valueSet.iterator());
return new TupleBrowser(this.table.getTree(), cts, direction);
}
More information about the teiid-commits
mailing list