diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-06-06 13:23:21 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-06-29 13:52:26 +1000 |
commit | 2fc2b8bbe52b10e87ba898af13ea264018622bd9 (patch) | |
tree | 460c21717115887aa3fa6991efe9c9409d058abd /src/include/extern.h | |
parent | a0c9c24db632dfed6df03f300375ea2a275898ef (diff) | |
download | mongo-2fc2b8bbe52b10e87ba898af13ea264018622bd9.tar.gz |
WT-1959 Add the "strict" configuration option to WT_SESSION.verify, default false, don't error if we leak blocks unless strict is configured.
(cherry picked from commit b3e3f19a08bbd8897dc0ba3f54b217292e35ea6b)
Diffstat (limited to 'src/include/extern.h')
-rw-r--r-- | src/include/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/extern.h b/src/include/extern.h index 59e795893b5..147af2521f7 100644 --- a/src/include/extern.h +++ b/src/include/extern.h @@ -65,7 +65,7 @@ extern int __wt_block_salvage_end(WT_SESSION_IMPL *session, WT_BLOCK *block); extern int __wt_block_offset_invalid(WT_BLOCK *block, wt_off_t offset, uint32_t size); extern int __wt_block_salvage_next(WT_SESSION_IMPL *session, WT_BLOCK *block, uint8_t *addr, size_t *addr_sizep, int *eofp); extern int __wt_block_salvage_valid(WT_SESSION_IMPL *session, WT_BLOCK *block, uint8_t *addr, size_t addr_size, int valid); -extern int __wt_block_verify_start( WT_SESSION_IMPL *session, WT_BLOCK *block, WT_CKPT *ckptbase); +extern int __wt_block_verify_start(WT_SESSION_IMPL *session, WT_BLOCK *block, WT_CKPT *ckptbase, const char *cfg[]); extern int __wt_block_verify_end(WT_SESSION_IMPL *session, WT_BLOCK *block); extern int __wt_verify_ckpt_load( WT_SESSION_IMPL *session, WT_BLOCK *block, WT_BLOCK_CKPT *ci); extern int __wt_verify_ckpt_unload(WT_SESSION_IMPL *session, WT_BLOCK *block); |