dcapwell commented on code in PR #2220:
URL: https://github.com/apache/cassandra/pull/2220#discussion_r1140590270


##########
src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java:
##########
@@ -237,12 +246,14 @@ public static class ParsedInsertJson extends 
ModificationStatement.Parsed
     {
         private final Json.Raw jsonValue;
         private final boolean defaultUnset;
+        private final boolean isForTxn;
 
-        public ParsedInsertJson(QualifiedName name, Attributes.Raw attrs, 
Json.Raw jsonValue, boolean defaultUnset, boolean ifNotExists, StatementSource 
source)
+        public ParsedInsertJson(QualifiedName name, Attributes.Raw attrs, 
Json.Raw jsonValue, boolean defaultUnset, boolean ifNotExists, StatementSource 
source, boolean isForTxn)
         {
             super(name, StatementType.INSERT, attrs, null, ifNotExists, false, 
source);
             this.jsonValue = jsonValue;
             this.defaultUnset = defaultUnset;
+            this.isForTxn = isForTxn;

Review Comment:
   > so even CAS is included
   CAS isn't included, it's `false` there.  When CAS uses accord we "migrate" 
and create a Accord transaction version of these statements



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to