Commit 86fbfc34 authored by Rich Prohaska's avatar Rich Prohaska

#264 tokuftdump should dump header with default args

parent 3bdf1bbd
......@@ -249,11 +249,10 @@ static void dump_node(int fd, BLOCKNUM blocknum, FT ft) {
printf(" layout_version_read_from_disk=%d\n", n->layout_version_read_from_disk);
printf(" build_id=%d\n", n->build_id);
printf(" max_msn_applied_to_node_on_disk=%" PRId64 " (0x%" PRIx64 ")\n", n->max_msn_applied_to_node_on_disk.msn, n->max_msn_applied_to_node_on_disk.msn);
printf("io time %lf decompress time %lf deserialize time %lf\n",
printf(" io time %lf decompress time %lf deserialize time %lf\n",
tokutime_to_seconds(bfe.io_time),
tokutime_to_seconds(bfe.decompress_time),
tokutime_to_seconds(bfe.deserialize_time)
);
tokutime_to_seconds(bfe.deserialize_time));
printf(" n_children=%d\n", n->n_children);
printf(" pivotkeys.total_size()=%u\n", (unsigned) n->pivotkeys.total_size());
......@@ -695,9 +694,10 @@ int main (int argc, const char *const argv[]) {
}
if (!do_header && !do_rootnode && !do_fragmentation && !do_translation_table && !do_garbage) {
printf("Block translation:");
toku_dump_translation_table(stdout, ft->blocktable);
dump_header(ft);
struct __dump_node_extra info;
info.fd = fd;
info.ft = ft;
......
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