cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: r/m unreachable code
Date Thu, 20 Jun 2013 18:59:22 GMT
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 <jbellis@apache.org>
Authored: Thu Jun 20 13:59:19 2013 -0500
Committer: Jonathan Ellis <jbellis@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;
             }


Mime
View raw message