Commit 1db349ce 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 3df61eca
......@@ -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