Commit 64923a57 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4062], fix small bug

git-svn-id: file:///svn/toku/tokudb@36674 c7de825b-a66e-492c-adef-691d508d4ae1
parent f1482538
...@@ -1630,6 +1630,7 @@ toku_deserialize_bp_from_disk(BRTNODE node, int childnum, int fd, struct brtnode ...@@ -1630,6 +1630,7 @@ toku_deserialize_bp_from_disk(BRTNODE node, int childnum, int fd, struct brtnode
if (node->height == 0) { if (node->height == 0) {
toku_brt_bn_reset_stats(node, childnum); toku_brt_bn_reset_stats(node, childnum);
} }
BP_INIT_TOUCHED_CLOCK(node,childnum);
toku_free(curr_sb.uncompressed_ptr); toku_free(curr_sb.uncompressed_ptr);
toku_free(raw_block); toku_free(raw_block);
} }
...@@ -1657,6 +1658,7 @@ toku_deserialize_bp_from_compressed(BRTNODE node, int childnum, ...@@ -1657,6 +1658,7 @@ toku_deserialize_bp_from_compressed(BRTNODE node, int childnum,
if (node->height == 0) { if (node->height == 0) {
toku_brt_bn_reset_stats(node, childnum); toku_brt_bn_reset_stats(node, childnum);
} }
BP_INIT_TOUCHED_CLOCK(node,childnum);
toku_free(curr_sb->uncompressed_ptr); toku_free(curr_sb->uncompressed_ptr);
toku_free(curr_sb->compressed_ptr); toku_free(curr_sb->compressed_ptr);
toku_free(curr_sb); toku_free(curr_sb);
......
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