mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
print the brt node offset and size. closes #1506
git-svn-id: file:///svn/toku/tokudb@9682 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
2602cdad4c
commit
20393fcee5
1 changed files with 5 additions and 1 deletions
|
@ -90,8 +90,12 @@ dump_node (int f, BLOCKNUM blocknum, struct brt_header *h) {
|
|||
assert(r==0);
|
||||
assert(n!=0);
|
||||
printf("brtnode\n");
|
||||
DISKOFF disksize, diskoffset;
|
||||
toku_block_get_offset_size(h->blocktable, blocknum, &diskoffset, &disksize);
|
||||
printf(" diskoffset =%" PRId64 "\n", diskoffset);
|
||||
printf(" disksize =%" PRId64 "\n", disksize);
|
||||
printf(" nodesize =%u\n", n->nodesize);
|
||||
printf(" sizeonddisk =%u\n", toku_serialize_brtnode_size(n));
|
||||
printf(" serialize_size =%u\n", toku_serialize_brtnode_size(n));
|
||||
printf(" flags =%u\n", n->flags);
|
||||
printf(" thisnodename=%" PRId64 "\n", n->thisnodename.b);
|
||||
printf(" disk_lsn =%" PRIu64 "\n", n->disk_lsn.lsn);
|
||||
|
|
Loading…
Add table
Reference in a new issue