cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: Update grammar syntax comment for conditional updates
Date Wed, 04 Mar 2015 22:33:51 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 a936d7e7f -> 2428b9c55


Update grammar syntax comment for conditional updates

Patch by Brian O'Neill; reviewed by Tyler Hobbs for CASSANDRA-8908


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

Branch: refs/heads/cassandra-2.0
Commit: 2428b9c55c31d5447a1a80dc646969ae30c294bc
Parents: a936d7e
Author: Brian O'Neill <bone@alumni.brown.edu>
Authored: Wed Mar 4 16:33:01 2015 -0600
Committer: Tyler Hobbs <tyler@datastax.com>
Committed: Wed Mar 4 16:33:01 2015 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/Cql.g | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2428b9c5/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 0595c25..d41434d 100644
--- a/src/java/org/apache/cassandra/cql3/Cql.g
+++ b/src/java/org/apache/cassandra/cql3/Cql.g
@@ -355,6 +355,7 @@ usingClauseObjective[Attributes.Raw attrs]
  * USING TIMESTAMP <long>
  * SET name1 = value1, name2 = value2
  * WHERE key = value;
+ * [IF (EXISTS | name = value, ...)];
  */
 updateStatement returns [UpdateStatement.ParsedUpdate expr]
     @init {


Mime
View raw message