You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2013/06/20 20:59:22 UTC
git commit: r/m unreachable code
Updated Branches:
refs/heads/trunk b9de5de23 -> 1f061f949
r/m unreachable code
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1f061f94
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1f061f94
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1f061f94
Branch: refs/heads/trunk
Commit: 1f061f94906884efca0213014516fbdeb82f8005
Parents: b9de5de
Author: Jonathan Ellis <jb...@apache.org>
Authored: Thu Jun 20 13:59:19 2013 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Thu Jun 20 13:59:19 2013 -0500
----------------------------------------------------------------------
.../org/apache/cassandra/cql3/statements/SelectStatement.java | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/1f061f94/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
index 3815a9d..bdfc326 100644
--- a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
@@ -1025,10 +1025,6 @@ public class SelectStatement implements CQLStatement
break;
}
throw new InvalidRequestException("Only EQ and IN relation are supported on the partition key for random partitioners (unless you use the token() function)");
-
- stmt.isKeyRange = true;
- lastRestrictedPartitionKey = i;
- shouldBeDone = true;
}
previous = cname;
}