diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_ckpt.c')
-rw-r--r-- | src/third_party/wiredtiger/src/conn/conn_ckpt.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_ckpt.c b/src/third_party/wiredtiger/src/conn/conn_ckpt.c index 5c8ad02b01e..b71ac6c28f4 100644 --- a/src/third_party/wiredtiger/src/conn/conn_ckpt.c +++ b/src/third_party/wiredtiger/src/conn/conn_ckpt.c @@ -46,8 +46,7 @@ __ckpt_server_config(WT_SESSION_IMPL *session, const char **cfg, bool *startp) WT_RET(__wt_config_gets(session, cfg, "in_memory", &cval)); if (cval.val != 0) WT_RET_MSG(session, EINVAL, - "checkpoint configuration incompatible with " - "in-memory configuration"); + "checkpoint configuration incompatible with in-memory configuration"); __wt_log_written_reset(session); @@ -199,7 +198,6 @@ __wt_checkpoint_server_destroy(WT_SESSION_IMPL *session) { WT_CONNECTION_IMPL *conn; WT_DECL_RET; - WT_SESSION *wt_session; conn = S2C(session); @@ -212,10 +210,8 @@ __wt_checkpoint_server_destroy(WT_SESSION_IMPL *session) __wt_cond_destroy(session, &conn->ckpt_cond); /* Close the server thread's session. */ - if (conn->ckpt_session != NULL) { - wt_session = &conn->ckpt_session->iface; - WT_TRET(wt_session->close(wt_session, NULL)); - } + if (conn->ckpt_session != NULL) + WT_TRET(__wt_session_close_internal(conn->ckpt_session)); /* * Ensure checkpoint settings are cleared - so that reconfigure doesn't get confused. |