maedhroz commented on code in PR #2088:
URL: https://github.com/apache/cassandra/pull/2088#discussion_r1068661639
##########
src/java/org/apache/cassandra/cql3/statements/TransactionStatement.java:
##########
@@ -195,9 +213,10 @@ private List<TxnNamedRead> createNamedReads(QueryOptions
options, Consumer<Key>
if (returningSelect != null)
{
- TxnNamedRead read = createNamedRead(returningSelect, options);
- keyConsumer.accept(read.key());
- reads.add(read);
+ for (TxnNamedRead read : createNamedReads(returningSelect,
options)) {
Review Comment:
nit: newline before brace?
--
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]