summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_api.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_api.c b/src/third_party/wiredtiger/src/conn/conn_api.c
index b07df9bb860..7ec08ed81c4 100644
--- a/src/third_party/wiredtiger/src/conn/conn_api.c
+++ b/src/third_party/wiredtiger/src/conn/conn_api.c
@@ -1799,6 +1799,9 @@ __wt_debug_mode_config(WT_SESSION_IMPL *session, const char *cfg[])
else
F_CLR(cache, WT_CACHE_EVICT_DEBUG_MODE);
+ WT_RET(__wt_config_gets(session, cfg, "debug_mode.log_retention", &cval));
+ conn->debug_log_cnt = (uint32_t)cval.val;
+
WT_RET(__wt_config_gets(session, cfg, "debug_mode.realloc_exact", &cval));
if (cval.val)
F_SET(conn, WT_CONN_DEBUG_REALLOC_EXACT);