diff options
author | Luke Chen <luke.chen@mongodb.com> | 2018-04-12 10:58:59 +1000 |
---|---|---|
committer | Luke Chen <luke.chen@mongodb.com> | 2018-04-12 10:58:59 +1000 |
commit | 1e619e899f17520ddb04f3848b1bdd8b99f97787 (patch) | |
tree | 9c52101414de390988242d3888ff7a4e5cbcb3e7 /src/third_party/wiredtiger/src/conn/conn_open.c | |
parent | d9bc77ee5021049248505dac91059ef20e4997c3 (diff) | |
download | mongo-1e619e899f17520ddb04f3848b1bdd8b99f97787.tar.gz |
Import wiredtiger: 4babae8093f7a3cb05226abe959e10e0bb6b2716 from branch mongodb-3.2
ref: 46c2f8fd9b..4babae8093
for: 3.2.20
WT-3994 Enhance WiredTiger Jenkins pull request tester for old branches
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_open.c')
-rw-r--r-- | src/third_party/wiredtiger/src/conn/conn_open.c | 2 |
1 files changed, 1 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 eb3c79422a0..0020c2cb735 100644 --- a/src/third_party/wiredtiger/src/conn/conn_open.c +++ b/src/third_party/wiredtiger/src/conn/conn_open.c @@ -143,7 +143,7 @@ __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 (ret == 0 && 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, true, WT_TXN_LOG_CKPT_STOP, NULL)); |