cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1125005 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g
Date Thu, 19 May 2011 17:23:09 GMT
Author: jbellis
Date: Thu May 19 17:23:09 2011
New Revision: 1125005

URL: http://svn.apache.org/viewvc?rev=1125005&view=rev
Log:
fix grammar warning
patch by pyaskevich; reviewed by jbellis for CASSANDRA-2622

Modified:
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g?rev=1125005&r1=1125004&r2=1125005&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g (original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g Thu May 19 17:23:09
2011
@@ -362,7 +362,7 @@ termPair[Map<Term, Term> columns]
 // Note: ranges are inclusive so >= and >, and < and <= all have the same semantics.
 
 relation returns [Relation rel]
     : { Term entity = new Term("KEY", STRING_LITERAL); }
-      (K_KEY | name=term { entity = $name.item; } ) type=('=' | '<' | '<=' | '>='
| '>') t=term
+      (name=term { entity = $name.item; } ) type=('=' | '<' | '<=' | '>=' | '>')
t=term
       { return new Relation(entity, $type.text, $t.item); }
     ;
 



Mime
View raw message