Commit 70249e06 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

check the return value from toku-serialize_brtnode_to

git-svn-id: file:///svn/toku/tokudb@10134 c7de825b-a66e-492c-adef-691d508d4ae1
parent 700e9e67
......@@ -63,7 +63,8 @@ static void test_serialize(void) {
assert(b==4096);
}
toku_serialize_brtnode_to(fd, make_blocknum(20), &sn, brt->h, 1, 1); assert(r==0);
r = toku_serialize_brtnode_to(fd, make_blocknum(20), &sn, brt->h, 1, 1);
assert(r==0);
r = toku_deserialize_brtnode_from(fd, make_blocknum(20), 0/*pass zero for hash*/, &dn, brt_h);
assert(r==0);
......
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