worryg0d commented on code in PR #1822:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1822#discussion_r1803037884


##########
frame.go:
##########
@@ -1717,25 +1759,46 @@ func (f *framer) writeBatchFrame(streamID int, w 
*writeBatchFrame, customPayload
                if w.defaultTimestamp {
                        flags |= flagDefaultTimestamp
                }
+       }
 
-               if f.proto > protoVersion4 {
-                       f.writeUint(uint32(flags))
+       if f.proto > protoVersion4 {
+               if w.keyspace != "" {
+                       flags |= flagWithKeyspace

Review Comment:
   The same as above.



-- 
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