mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
check the return value from toku-serialize_brtnode_to
git-svn-id: file:///svn/toku/tokudb@10134 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
700e9e67d1
commit
70249e065f
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue