mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
[t:4062], fix small bug
git-svn-id: file:///svn/toku/tokudb@36674 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0dd7183824
commit
7295d90993
1 changed files with 2 additions and 0 deletions
|
@ -1630,6 +1630,7 @@ toku_deserialize_bp_from_disk(BRTNODE node, int childnum, int fd, struct brtnode
|
|||
if (node->height == 0) {
|
||||
toku_brt_bn_reset_stats(node, childnum);
|
||||
}
|
||||
BP_INIT_TOUCHED_CLOCK(node,childnum);
|
||||
toku_free(curr_sb.uncompressed_ptr);
|
||||
toku_free(raw_block);
|
||||
}
|
||||
|
@ -1657,6 +1658,7 @@ toku_deserialize_bp_from_compressed(BRTNODE node, int childnum,
|
|||
if (node->height == 0) {
|
||||
toku_brt_bn_reset_stats(node, childnum);
|
||||
}
|
||||
BP_INIT_TOUCHED_CLOCK(node,childnum);
|
||||
toku_free(curr_sb->uncompressed_ptr);
|
||||
toku_free(curr_sb->compressed_ptr);
|
||||
toku_free(curr_sb);
|
||||
|
|
Loading…
Add table
Reference in a new issue