Repository: cassandra Updated Branches: refs/heads/trunk eeb150e9e -> 54e7f96e4
remove dead code Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/54e7f96e Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/54e7f96e Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/54e7f96e Branch: refs/heads/trunk Commit: 54e7f96e42b768cbac67bc5b381c904dfe481c7c Parents: eeb150e Author: Dave Brosius <dbros...@mebigfatguy.com> Authored: Mon Sep 1 13:04:34 2014 -0400 Committer: Dave Brosius <dbros...@mebigfatguy.com> Committed: Mon Sep 1 13:04:34 2014 -0400 ---------------------------------------------------------------------- src/java/org/apache/cassandra/cql3/Cql.g | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/54e7f96e/src/java/org/apache/cassandra/cql3/Cql.g ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/cql3/Cql.g b/src/java/org/apache/cassandra/cql3/Cql.g index 054f1a2..a564f1c 100644 --- a/src/java/org/apache/cassandra/cql3/Cql.g +++ b/src/java/org/apache/cassandra/cql3/Cql.g @@ -323,10 +323,9 @@ whereClause returns [List<Relation> clause] orderByClause[Map<ColumnIdentifier, Boolean> orderings] @init{ - ColumnIdentifier orderBy = null; boolean reversed = false; } - : c=cident { orderBy = c; } (K_ASC | K_DESC { reversed = true; })? { orderings.put(c, reversed); } + : c=cident (K_ASC | K_DESC { reversed = true; })? { orderings.put(c, reversed); } ; /**