Skip to content
Snippets Groups Projects
Commit 52a99011 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

sophia: fix the failing upsert.test (uninitialized variable).

parent bf0d72f6
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,7 @@ sophia_upsert_prepare(char **src, uint32_t *src_size,
{
/* calculate msgpack size */
uint32_t i = 0;
*mp_size_key = 0;
while (i < key_def->part_count) {
if (key_def->parts[i].type == STRING)
*mp_size_key += mp_sizeof_str(src_size[i]);
......
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