Skip to content
Snippets Groups Projects
Commit 62a9f4cf authored by Yuriy Vostrikov's avatar Yuriy Vostrikov
Browse files

[core] fix packet length calculation

parent 00880e68
No related branches found
No related tags found
No related merge requests found
......@@ -449,7 +449,7 @@ convert_to_v11(struct tbuf *orig, i64 lsn)
row->len = sizeof(struct row_v11);
row_v11(row)->lsn = lsn;
row_v11(row)->tm = 0;
row_v11(row)->len = orig->len;
row_v11(row)->len = orig->len + sizeof(default_tag);
tbuf_append(row, &default_tag, sizeof(default_tag));
tbuf_append(row, orig->data, orig->len);
......
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