Skip to content

Commit 9d19fc8

Browse files
committed
RUBY-220 - Plumbing to support custom types: serializing and deserializing custom domain objects defined by the client.
* Fix copy-paste error in prepared statement processing.
1 parent 00f9d4c commit 9d19fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cassandra/statements/prepared.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def create_partition_key(values)
208208
end
209209

210210
if @connection_options.protocol_version >= 4
211-
Protocol::Coder.write_value_v4(buffer, value, type)
211+
Protocol::Coder.write_value_v4(buf, value, type)
212212
elsif @connection_options.protocol_version >= 3
213213
Protocol::Coder.write_value_v3(buf, value, type)
214214
else

0 commit comments

Comments
 (0)