You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2014/02/24 10:15:02 UTC

git commit: Fix for skip scan intersect

Repository: incubator-phoenix
Updated Branches:
  refs/heads/2.2.3 6dbf1da2c -> 5e7d07169


Fix for skip scan intersect


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

Branch: refs/heads/2.2.3
Commit: 5e7d071693b6ad4adb758b94d53808a75feeae26
Parents: 6dbf1da
Author: James Taylor <ja...@apache.org>
Authored: Mon Feb 24 01:14:55 2014 -0800
Committer: James Taylor <ja...@apache.org>
Committed: Mon Feb 24 01:14:55 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/5e7d0716/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java b/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
index 0c222d0..dacec74 100644
--- a/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
+++ b/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;
             }
         }