summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_api.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_api.c b/src/third_party/wiredtiger/src/conn/conn_api.c
index c67ec597f66..a8e906a9f19 100644
--- a/src/third_party/wiredtiger/src/conn/conn_api.c
+++ b/src/third_party/wiredtiger/src/conn/conn_api.c
@@ -1055,9 +1055,10 @@ __conn_close(WT_CONNECTION *wt_conn, const char *config)
if (cval.val != 0)
F_SET(conn, WT_CONN_LEAK_MEMORY);
WT_TRET(__wt_config_gets(session, cfg, "use_timestamp", &cval));
- if (cval.val != 0 && conn->txn_global.has_stable_timestamp) {
+ if (cval.val != 0) {
ckpt_cfg = "use_timestamp=true";
- F_SET(conn, WT_CONN_CLOSING_TIMESTAMP);
+ if (conn->txn_global.has_stable_timestamp)
+ F_SET(conn, WT_CONN_CLOSING_TIMESTAMP);
}
err: /*