You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bryn Cooke (Jira)" <ji...@apache.org> on 2020/04/15 15:22:00 UTC

[jira] [Created] (CASSANDRA-15730) Logic for determining if all statements in a batch are for the same table is inverted

Bryn Cooke created CASSANDRA-15730:
--------------------------------------

             Summary: Logic for determining if all statements in a batch are for the same table is inverted
                 Key: CASSANDRA-15730
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15730
             Project: Cassandra
          Issue Type: Bug
            Reporter: Bryn Cooke


Currently affectsMultipleTables is true if all statements in a batch are for the same table [here|[https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/cql3/statements/BatchStatement.java#L144]][
|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/cql3/statements/BatchStatement.java#L144]

This later causes an assertion failure [here|[https://github.com/apache/cassandra/blob/24c8a21c1c131abd89c6b646343ff098d1b3263b/src/java/org/apache/cassandra/cql3/VariableSpecifications.java#L75]]

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org