Skip to content

Commit 94b7820

Browse files
committed
Send a flags field (value 0) in PREPARE messages in v5.
1 parent e932c93 commit 94b7820

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cassandra/protocol.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,9 @@ def __init__(self, query):
775775

776776
def send_body(self, f, protocol_version):
777777
write_longstring(f, self.query)
778+
if protocol_version >= 5:
779+
# Write the flags byte; with 0 value for now, but this should change in PYTHON-678
780+
write_int(f, 0)
778781

779782

780783
class ExecuteMessage(_MessageType):

0 commit comments

Comments
 (0)