lib/aerospike/command/read_command.rb in aerospike-2.22.0 vs lib/aerospike/command/read_command.rb in aerospike-2.23.0
- old
+ new
@@ -96,11 +96,11 @@
field_count = @data_buffer.read_int16(26) # almost certainly 0
op_count = @data_buffer.read_int16(28)
receive_size = (sz & 0xFFFFFFFFFFFF) - header_length
# Read remaining message bytes.
- if compressed_sz
+ if compressed_sz
@data_buffer.eat!(MSG_TOTAL_HEADER_SIZE)
elsif receive_size > 0
size_buffer_sz(receive_size)
begin
@@ -115,10 +115,10 @@
if result_code == 0
if op_count == 0
@record = Record.new(@node, @key, nil, generation, expiration)
return
end
-
+
@record = parse_record(op_count, field_count, generation, expiration)
return
end
return nil if result_code == Aerospike::ResultCode::KEY_NOT_FOUND_ERROR