diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-12-02 11:24:55 -0500 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-12-02 11:24:55 -0500 |
commit | 91e2e694ed558b66b6a9561e4dc5c74edaca7edf (patch) | |
tree | 263cf273d2ec4d2dde6164dd8e9153586cec6dbe /src/conn/conn_open.c | |
parent | e1c185dd64706dbbb650e3d5abf32cd79a8b1d7a (diff) | |
download | mongo-91e2e694ed558b66b6a9561e4dc5c74edaca7edf.tar.gz |
Make pre-alloc a boolean and convert connection log settings to flags.
Diffstat (limited to 'src/conn/conn_open.c')
-rw-r--r-- | src/conn/conn_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_open.c b/src/conn/conn_open.c index b4450b62bf4..04de2a58422 100644 --- a/src/conn/conn_open.c +++ b/src/conn/conn_open.c @@ -124,7 +124,7 @@ __wt_connection_close(WT_CONNECTION_IMPL *conn) * has completed then shut down the log manager (only after closing * data handles). */ - if (conn->logging) { + if (FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED)) { WT_TRET(__wt_txn_checkpoint_log( session, 1, WT_TXN_LOG_CKPT_STOP, NULL)); WT_TRET(__wt_logmgr_destroy(session)); |