Skip to content

Commit 000d54b

Browse files
committed
RUBY-220 - Plumbing to support custom types: serializing and deserializing custom domain objects defined by the client.
* Fixed a reference to read_value_v4 that got missed earlier.
1 parent a84c724 commit 000d54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cassandra/cluster/schema/fetchers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def create_aggregate(aggregate_data, functions)
836836
initial_state = Util.encode_object(
837837
Protocol::Coder.read_value_v4(
838838
Protocol::CqlByteBuffer.new.append_bytes(aggregate_data['initcond']),
839-
state_type))
839+
state_type, nil))
840840

841841
# The state-function takes arguments: first the stype, then the args of the aggregate.
842842
state_function = functions.get(aggregate_data['state_func'],

0 commit comments

Comments
 (0)