Send a flags field (value 0) in PREPARE messages in v5.

* Write flags as a 32-bit unsigned int, not int.
* Forgot to import the uint32_pack function from the marshal package.
This commit is contained in:
Sandeep Tamhankar
2016-12-09 10:54:37 -08:00
parent f9e4e8e189
commit ae18522ef2

View File

@@ -30,7 +30,7 @@ from cassandra import (Unavailable, WriteTimeout, ReadTimeout,
UserAggregateDescriptor, SchemaTargetType)
from cassandra.marshal import (int32_pack, int32_unpack, uint16_pack, uint16_unpack,
int8_pack, int8_unpack, uint64_pack, header_pack,
v3_header_pack)
v3_header_pack, uint32_pack)
from cassandra.cqltypes import (AsciiType, BytesType, BooleanType,
CounterColumnType, DateType, DecimalType,
DoubleType, FloatType, Int32Type,