diff options
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java index 25423ee..0599b00 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java @@ -367,6 +367,9 @@ public class IndexedQueryExecutor<S extends Storable> extends AbstractQueryExecu String[] orderProperties = new String[mIdentityCount + 1];
for (i=0; i<orderProperties.length; i++) {
Direction dir = mIndex.getPropertyDirection(i);
+ if (dir == Direction.UNSPECIFIED) {
+ dir = Direction.ASCENDING;
+ }
if (mReverseOrder) {
dir = dir.reverse();
}
|