diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-11-28 13:05:02 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-11-29 09:49:19 -0500 |
commit | 7cd0d3b6306beaa5c8a97fa5ce6fcd04374dae56 (patch) | |
tree | 33327221abb95defb2db6e93146ebce2eafbbbd1 /src/conn/conn_ckpt.c | |
parent | e84407beef9f1f2b1fa32d4c74a54e910983c6e6 (diff) | |
download | mongo-7cd0d3b6306beaa5c8a97fa5ce6fcd04374dae56.tar.gz |
The checkpoint thread gets the current time-of-day, but does nothing
with it -- remove the retrieval.
Diffstat (limited to 'src/conn/conn_ckpt.c')
-rw-r--r-- | src/conn/conn_ckpt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conn/conn_ckpt.c b/src/conn/conn_ckpt.c index ba8eed03e47..cdf86288754 100644 --- a/src/conn/conn_ckpt.c +++ b/src/conn/conn_ckpt.c @@ -55,7 +55,6 @@ __ckpt_server_config(WT_SESSION_IMPL *session, const char **cfg, int *runp) static void * __ckpt_server(void *arg) { - struct timespec ts; WT_CONNECTION_IMPL *conn; WT_DECL_RET; WT_SESSION *wt_session; @@ -66,9 +65,6 @@ __ckpt_server(void *arg) wt_session = (WT_SESSION *)session; while (F_ISSET(conn, WT_CONN_SERVER_RUN)) { - /* Get the current local time of day. */ - WT_ERR(__wt_epoch(session, &ts)); - /* Checkpoint the database. */ WT_ERR(wt_session->checkpoint(wt_session, conn->ckpt_config)); |