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


##########
test/distributed/org/apache/cassandra/distributed/test/cql3/StatefulASTBase.java:
##########
@@ -451,7 +452,7 @@ protected ByteBuffer[][] executeQuery(IInstance instance, 
int fetchSize, Consist
                 SimpleStatement ss = new SimpleStatement(stmt.toCQL(), 
(Object[]) stmt.bindsEncoded());
                 if (fetchSize != Integer.MAX_VALUE)
                     ss.setFetchSize(fetchSize);
-                if (stmt instanceof Mutation)
+                if (stmt.kind() == Statement.Kind.MUTATION)

Review Comment:
   not required but the batch patch does `|| stmt.kind() == BATCH`



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to