cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Allow unreserved keywoards in property values too (following #4186)
Date Thu, 03 May 2012 18:01:42 GMT
Updated Branches:
  refs/heads/cassandra-1.1 dfdf89cbc -> 249456b07


Allow unreserved keywoards in property values too (following #4186)


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

Branch: refs/heads/cassandra-1.1
Commit: 249456b07dc9b1aa9d3ec97b6383e8d5ce60f94f
Parents: dfdf89c
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Thu May 3 19:52:22 2012 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Thu May 3 20:01:25 2012 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/Cql.g |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/249456b0/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 8d15a5b..ba01f85 100644
--- a/src/java/org/apache/cassandra/cql3/Cql.g
+++ b/src/java/org/apache/cassandra/cql3/Cql.g
@@ -492,6 +492,7 @@ property returns [String str]
 
 propertyValue returns [String str]
     : v=(STRING_LITERAL | IDENT | INTEGER | FLOAT) { $str = $v.text; }
+    | u=unreserved_keyword                         { $str = u; }
     ;
 
 properties returns [Map<String, String> props]


Mime
View raw message