summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_ckpt.c
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2015-09-30 15:04:43 +1000
committerAlex Gorrod <alexg@wiredtiger.com>2015-09-30 15:04:43 +1000
commit7c8c1f8d508f62aeb3dbc1ac093330fb5a872174 (patch)
tree5e77accabdeeeaabc57a1fbdbbdd9e6a049bfcf2 /src/third_party/wiredtiger/src/conn/conn_ckpt.c
parent2df922eae05292e9ec5b5e4d2525d3c429a8ea4f (diff)
downloadmongo-7c8c1f8d508f62aeb3dbc1ac093330fb5a872174.tar.gz
Import wiredtiger-wiredtiger-2.6.1-1261-g3c85664.tar.gz from wiredtiger branch mongodb-3.2
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_ckpt.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_ckpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_ckpt.c b/src/third_party/wiredtiger/src/conn/conn_ckpt.c
index 6598c567de9..7fc790d5efa 100644
--- a/src/third_party/wiredtiger/src/conn/conn_ckpt.c
+++ b/src/third_party/wiredtiger/src/conn/conn_ckpt.c
@@ -148,7 +148,7 @@ __ckpt_server_start(WT_CONNECTION_IMPL *conn)
*/
WT_RET(__wt_thread_create(
session, &conn->ckpt_tid, __ckpt_server, session));
- conn->ckpt_tid_set = 1;
+ conn->ckpt_tid_set = true;
return (0);
}
@@ -194,7 +194,7 @@ __wt_checkpoint_server_destroy(WT_SESSION_IMPL *session)
if (conn->ckpt_tid_set) {
WT_TRET(__wt_cond_signal(session, conn->ckpt_cond));
WT_TRET(__wt_thread_join(session, conn->ckpt_tid));
- conn->ckpt_tid_set = 0;
+ conn->ckpt_tid_set = false;
}
WT_TRET(__wt_cond_destroy(session, &conn->ckpt_cond));
@@ -211,7 +211,7 @@ __wt_checkpoint_server_destroy(WT_SESSION_IMPL *session)
* get confused.
*/
conn->ckpt_session = NULL;
- conn->ckpt_tid_set = 0;
+ conn->ckpt_tid_set = false;
conn->ckpt_cond = NULL;
conn->ckpt_config = NULL;
conn->ckpt_usecs = 0;