Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
86fbfc34
Commit
86fbfc34
authored
Jul 03, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#264 tokuftdump should dump header with default args
parent
3bdf1bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ft/tokuftdump.cc
ft/tokuftdump.cc
+6
-6
No files found.
ft/tokuftdump.cc
View file @
86fbfc34
...
@@ -249,11 +249,10 @@ static void dump_node(int fd, BLOCKNUM blocknum, FT ft) {
...
@@ -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
(
" layout_version_read_from_disk=%d
\n
"
,
n
->
layout_version_read_from_disk
);
printf
(
" build_id=%d
\n
"
,
n
->
build_id
);
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
(
" 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
.
io_time
),
tokutime_to_seconds
(
bfe
.
decompress_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
(
" n_children=%d
\n
"
,
n
->
n_children
);
printf
(
" pivotkeys.total_size()=%u
\n
"
,
(
unsigned
)
n
->
pivotkeys
.
total_size
());
printf
(
" pivotkeys.total_size()=%u
\n
"
,
(
unsigned
)
n
->
pivotkeys
.
total_size
());
...
@@ -695,8 +694,9 @@ int main (int argc, const char *const argv[]) {
...
@@ -695,8 +694,9 @@ int main (int argc, const char *const argv[]) {
}
}
if
(
!
do_header
&&
!
do_rootnode
&&
!
do_fragmentation
&&
!
do_translation_table
&&
!
do_garbage
)
{
if
(
!
do_header
&&
!
do_rootnode
&&
!
do_fragmentation
&&
!
do_translation_table
&&
!
do_garbage
)
{
printf
(
"Block translation:"
);
printf
(
"Block translation:"
);
toku_dump_translation_table
(
stdout
,
ft
->
blocktable
);
toku_dump_translation_table
(
stdout
,
ft
->
blocktable
);
dump_header
(
ft
);
struct
__dump_node_extra
info
;
struct
__dump_node_extra
info
;
info
.
fd
=
fd
;
info
.
fd
=
fd
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment