Commit 1cd679d7 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4773], [t:4774], make blind fix on main

git-svn-id: file:///svn/toku/tokudb@42406 c7de825b-a66e-492c-adef-691d508d4ae1
parent d29722d4
...@@ -1843,7 +1843,7 @@ deserialize_and_upgrade_internal_node(BRTNODE node, ...@@ -1843,7 +1843,7 @@ deserialize_and_upgrade_internal_node(BRTNODE node,
true, true,
dest); dest);
lazy_assert_zero(r); lazy_assert_zero(r);
n_bytes_in_buffer += keylen + vallen + KEY_VALUE_OVERHEAD + xids_get_serialize_size(xids); n_bytes_in_buffer += keylen + vallen + BRT_CMD_OVERHEAD + KEY_VALUE_OVERHEAD + xids_get_serialize_size(xids);
xids_destroy(&xids); xids_destroy(&xids);
} }
...@@ -2864,6 +2864,7 @@ upgrade_subtree_estimates_to_stat64info(int UU(fd), struct brt_header *h) ...@@ -2864,6 +2864,7 @@ upgrade_subtree_estimates_to_stat64info(int UU(fd), struct brt_header *h)
h->on_disk_stats.numrows += nkeys; h->on_disk_stats.numrows += nkeys;
h->on_disk_stats.numbytes += rbuf_ulonglong(rb); h->on_disk_stats.numbytes += rbuf_ulonglong(rb);
} }
h->in_memory_stats = h->on_disk_stats;
// done, discard the rest // done, discard the rest
toku_free(rb->buf); toku_free(rb->buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment