Skip to content
Snippets Groups Projects
Commit fbd17449 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

connector/c: multiple reply parsing bug fixed

parent 2295094f
No related branches found
No related tags found
No related merge requests found
......@@ -147,8 +147,8 @@ int tnt_reply_from(struct tnt_reply *r, tnt_replyf_t rcv, void *ptr) {
if (t == NULL)
goto rollback;
tnt_list_at(&r->tuples, t);
p += tsize;
total += (4 + tsize);
p += tsize + 4;
total += (4 + 4 + tsize); /* length + cardinality + tuple size */
}
free(buf);
return 0;
......
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