Commit 3aaa11c0 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4107], fix compile

git-svn-id: file:///svn/toku/tokudb@36723 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7ee9ebc8
......@@ -75,6 +75,7 @@ test1(int fd, struct brt_header *brt_h, BRTNODE *dn) {
}
// should sweep and NOT get rid of anything
PAIR_ATTR attr;
memset(&attr,0,sizeof(attr));
toku_brtnode_pe_callback(*dn, attr, &attr, NULL);
for (int i = 0; i < (*dn)->n_children; i++) {
assert(BP_STATE(*dn,i) == PT_AVAIL);
......@@ -170,6 +171,7 @@ test2(int fd, struct brt_header *brt_h, BRTNODE *dn) {
assert(BP_SHOULD_EVICT(*dn, 0));
assert(!BP_SHOULD_EVICT(*dn, 1));
PAIR_ATTR attr;
memset(&attr,0,sizeof(attr));
toku_brtnode_pe_callback(*dn, attr, &attr, NULL);
assert(BP_STATE(*dn, 0) == (is_leaf) ? PT_ON_DISK : PT_COMPRESSED);
assert(BP_STATE(*dn, 1) == PT_AVAIL);
......
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