summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-04-01 13:03:27 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-04-01 13:03:27 -0400
commit932ecddafb3c3fb6141f337e0f7ef82feca4d8fa (patch)
treead752173885eba4cb8cbb369c470de86509c958a /src/config
parent1ca16c52f19322080ada408ffded6a3b940f8ac8 (diff)
downloadmongo-932ecddafb3c3fb6141f337e0f7ef82feca4d8fa.tar.gz
Add support for a new verify option "-d dump_offsets=#,#,#", that allows
you to dump specific offsets in the target.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_def.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/config_def.c b/src/config/config_def.c
index 60848995e42..95e2c0de8c3 100644
--- a/src/config/config_def.c
+++ b/src/config/config_def.c
@@ -209,6 +209,7 @@ static const WT_CONFIG_CHECK confchk_session_salvage[] = {
static const WT_CONFIG_CHECK confchk_session_verify[] = {
{ "dump_address", "boolean", NULL, NULL},
{ "dump_blocks", "boolean", NULL, NULL},
+ { "dump_offsets", "list", NULL, NULL},
{ "dump_pages", "boolean", NULL, NULL},
{ NULL, NULL, NULL, NULL }
};
@@ -418,7 +419,7 @@ static const WT_CONFIG_ENTRY config_entries[] = {
NULL
},
{ "session.verify",
- "dump_address=0,dump_blocks=0,dump_pages=0",
+ "dump_address=0,dump_blocks=0,dump_offsets=,dump_pages=0",
confchk_session_verify
},
{ "table.meta",