Skip to content
Snippets Groups Projects
Commit 4d455bb3 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Sophia: remove an artifact from sophia_tuple_data_new()

Fix memory corruption caused by accidentally copy-pasted line.
parent 511b1e60
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,6 @@ sophia_tuple_data_new(void *obj, struct key_def *key_def, uint32_t *bsize)
d = mp_encode_array(d, field_count);
d = sophia_write_parts(key_def, value, valuesize, parts, d);
assert(tuple_data + size == d);
sophia_write_parts(key_def, value, valuesize, parts, d);
*bsize = size;
return tuple_data;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment