summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_open.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-08-12 20:56:25 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2015-08-12 20:56:25 +1000
commit7bb09c0377f5160857617c38ab07955f8f4b03f6 (patch)
tree2d7041f6e1cc121c743c368406485e39280b551c /src/third_party/wiredtiger/src/conn/conn_open.c
parent6d9cbeb53eb9e6d39a24a8ac54b71e105483730b (diff)
downloadmongo-7bb09c0377f5160857617c38ab07955f8f4b03f6.tar.gz
Import wiredtiger-wiredtiger-2.6.1-500-g26d1ad2.tar.gz from wiredtiger branch mongodb-3.2
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_open.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_open.c b/src/third_party/wiredtiger/src/conn/conn_open.c
index c4350d90adb..3f3808579a9 100644
--- a/src/third_party/wiredtiger/src/conn/conn_open.c
+++ b/src/third_party/wiredtiger/src/conn/conn_open.c
@@ -128,7 +128,8 @@ __wt_connection_close(WT_CONNECTION_IMPL *conn)
* conditional because we allocate the log path so that printlog can
* run without running logging or recovery.
*/
- if (FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED))
+ if (FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED) &&
+ FLD_ISSET(conn->log_flags, WT_CONN_LOG_RECOVER_DONE))
WT_TRET(__wt_txn_checkpoint_log(
session, 1, WT_TXN_LOG_CKPT_STOP, NULL));
F_CLR(conn, WT_CONN_LOG_SERVER_RUN);