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:
@@ -30,7 +30,7 @@ from cassandra import (Unavailable, WriteTimeout, ReadTimeout,
|
|||||||
UserAggregateDescriptor, SchemaTargetType)
|
UserAggregateDescriptor, SchemaTargetType)
|
||||||
from cassandra.marshal import (int32_pack, int32_unpack, uint16_pack, uint16_unpack,
|
from cassandra.marshal import (int32_pack, int32_unpack, uint16_pack, uint16_unpack,
|
||||||
int8_pack, int8_unpack, uint64_pack, header_pack,
|
int8_pack, int8_unpack, uint64_pack, header_pack,
|
||||||
v3_header_pack)
|
v3_header_pack, uint32_pack)
|
||||||
from cassandra.cqltypes import (AsciiType, BytesType, BooleanType,
|
from cassandra.cqltypes import (AsciiType, BytesType, BooleanType,
|
||||||
CounterColumnType, DateType, DecimalType,
|
CounterColumnType, DateType, DecimalType,
|
||||||
DoubleType, FloatType, Int32Type,
|
DoubleType, FloatType, Int32Type,
|
||||||
|
|||||||
Reference in New Issue
Block a user