phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestay...@apache.org
Subject git commit: PHOENIX-72 SkipScanFilter intersect may be incorrect for ranges (JamesTaylor)
Date Mon, 24 Feb 2014 07:20:48 GMT
Repository: incubator-phoenix
Updated Branches:
  refs/heads/master 68e0c7372 -> 5701fee05


PHOENIX-72 SkipScanFilter intersect may be incorrect for ranges (JamesTaylor)


Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/5701fee0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/5701fee0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/5701fee0

Branch: refs/heads/master
Commit: 5701fee05a789686eaabf5df1f58a86b4d2e488a
Parents: 68e0c73
Author: James Taylor <jamestaylor@apache.org>
Authored: Sun Feb 23 23:20:41 2014 -0800
Committer: James Taylor <jamestaylor@apache.org>
Committed: Sun Feb 23 23:20:41 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/filter/SkipScanFilter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/5701fee0/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java b/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
index 0c222d0..dacec74 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
@@ -137,7 +137,7 @@ public class SkipScanFilter extends FilterBase {
     
     private boolean areSlotsSingleKey(int startPosInclusive, int endPosExclusive) {
         for (int i = startPosInclusive; i < endPosExclusive; i++) {
-            if (!slots.get(0).get(position[i]).isSingleKey()) {
+            if (!slots.get(i).get(position[i]).isSingleKey()) {
                 return false;
             }
         }


Mime
View raw message