summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/txn/txn_log.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2018-05-18 13:38:23 +1000
committerLuke Chen <luke.chen@mongodb.com>2018-05-18 13:38:23 +1000
commit024f0a60461bc49f9627447490acd37b76c6a724 (patch)
tree423a6ef229109f0e84f5ab3243e9a2ec8b7cd7db /src/third_party/wiredtiger/src/txn/txn_log.c
parent25b0e6f7d22de88faaa7e223195992e995acdff4 (diff)
downloadmongo-024f0a60461bc49f9627447490acd37b76c6a724.tar.gz
Import wiredtiger: fe04ad07ab7608718bc24aa5f9e0103aaec26b02 from branch mongodb-3.8
ref: ba76f72622..fe04ad07ab for: 4.0.0-rc0 WT-3698 Threads doing eviction can stall indefinitely when timestamps fail to advance WT-4000 Avoid getting two snapshots when setting a read_timestamp WT-4004 format snapshot-isolation search mismatch failure WT-4016 Measure and improve lookaside performance with stable_timestamp set WT-4029 Bump the log file version WT-4056 New API to configure a minimum compatibility version on open WT-4060 Clean up __wt_getenv() error handling. WT-4074 Lint fixes WT-4078 Splits can leak a page lock if memory allocation fails. WT-4080 gcc8 -Wparentheses complains about WiredTiger's __F() macro. WT-4081 Improve errors and documentation for syscall.py WT-4086 Verify log file versions before opening logging subsystem
Diffstat (limited to 'src/third_party/wiredtiger/src/txn/txn_log.c')
-rw-r--r--src/third_party/wiredtiger/src/txn/txn_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/txn/txn_log.c b/src/third_party/wiredtiger/src/txn/txn_log.c
index bb892c2b85e..81968c940f7 100644
--- a/src/third_party/wiredtiger/src/txn/txn_log.c
+++ b/src/third_party/wiredtiger/src/txn/txn_log.c
@@ -393,7 +393,7 @@ __wt_txn_checkpoint_log(
case WT_TXN_LOG_CKPT_PREPARE:
txn->full_ckpt = true;
- if (conn->compat_major >= WT_LOG_V2) {
+ if (conn->compat_major >= WT_LOG_V2_MAJOR) {
/*
* Write the system log record containing a checkpoint
* start operation.