cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Revert adding the key alias to the 2ndary indexes names (from 5378 patch)
Date Mon, 08 Apr 2013 09:39:46 GMT
Updated Branches:
  refs/heads/cassandra-1.2 56f35dbf7 -> 69f05a704


Revert adding the key alias to the 2ndary indexes names (from 5378 patch)


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/69f05a70
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/69f05a70
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/69f05a70

Branch: refs/heads/cassandra-1.2
Commit: 69f05a704aafa90f2151db721312f3c5907abb2f
Parents: 56f35db
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Mon Apr 8 11:39:16 2013 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Mon Apr 8 11:39:30 2013 +0200

----------------------------------------------------------------------
 .../cassandra/cql3/statements/SelectStatement.java |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/69f05a70/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 093f245..061e0ac 100644
--- a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
@@ -1061,7 +1061,6 @@ public class SelectStatement implements CQLStatement
                 stmt.isKeyRange = true;
                 boolean hasEq = false;
                 Set<ByteBuffer> indexedNames = new HashSet<ByteBuffer>();
-                indexedNames.add(cfm.getKeyName());
                 for (ColumnDefinition cfdef : cfm.getColumn_metadata().values())
                 {
                     if (cfdef.getIndexType() != null)


Mime
View raw message