From 4ce68905b7d0d418b89ecac77573a730a61527e6 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Fri, 22 Sep 2006 06:39:05 +0000 Subject: Ordering property directions should be reversed if index is reversed. --- src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java index cc342c6..fd3ab4f 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java @@ -189,6 +189,9 @@ public class IndexedQueryExecutor extends AbstractQueryExecu if (mIdentityCount > 0) { list = OrderingList.get(list.subList(mIdentityCount, list.size())); } + if (mReverseOrder) { + list = list.reverseDirections(); + } return list; } -- cgit v1.2.3