summaryrefslogtreecommitdiff
path: root/src/conn/conn_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn/conn_stat.c')
-rw-r--r--src/conn/conn_stat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conn/conn_stat.c b/src/conn/conn_stat.c
index 9ccfa8ad8db..d6e59a50da5 100644
--- a/src/conn/conn_stat.c
+++ b/src/conn/conn_stat.c
@@ -106,10 +106,6 @@ __statlog_config(WT_SESSION_IMPL *session, const char **cfg, bool *runp)
* If any statistics logging is done, this must not be a read-only
* connection.
*/
- if (F_ISSET(conn, WT_CONN_READONLY))
- WT_RET_MSG(session, EINVAL,
- "Read-only configuration incompatible with statistics "
- "logging");
WT_RET(__wt_config_gets(session, cfg, "statistics_log.sources", &cval));
WT_RET(__wt_config_subinit(session, &objectconf, &cval));
for (cnt = 0; (ret = __wt_config_next(&objectconf, &k, &v)) == 0; ++cnt)