diff options
author | Luke Chen <luke.chen@mongodb.com> | 2019-06-20 16:18:45 +1000 |
---|---|---|
committer | Luke Chen <luke.chen@mongodb.com> | 2019-06-20 16:18:45 +1000 |
commit | 06ad4fcd09f13abada62c6ca5911b1ab74733228 (patch) | |
tree | 4a922dbd1ac8372a1b81314c4284b9111f4ed611 /src/third_party/wiredtiger/src/include/txn.i | |
parent | f1dcaea4a97903fa7c785f31c55f484d275a5aed (diff) | |
download | mongo-06ad4fcd09f13abada62c6ca5911b1ab74733228.tar.gz |
Import wiredtiger: ee1bae262347285f46b5c56cc0490d20b9ee9c98 from branch mongodb-4.2
ref: 40e3225e55..ee1bae2623
for: 4.3.1
WT-4694 Dynamic compression throughput varies widely
WT-4798 Fix bug in picking random dhandle for eviction
WT-4862 WT_SESSION.import implies an additional write during checkpoints without an avail list
WT-4863 Prototype WiredTiger inline functions
WT-4869 Stop adding cache pressure when eviction is falling behind
Diffstat (limited to 'src/third_party/wiredtiger/src/include/txn.i')
-rw-r--r-- | src/third_party/wiredtiger/src/include/txn.i | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/third_party/wiredtiger/src/include/txn.i b/src/third_party/wiredtiger/src/include/txn.i index 1aea1e854d3..f904e62cc05 100644 --- a/src/third_party/wiredtiger/src/include/txn.i +++ b/src/third_party/wiredtiger/src/include/txn.i @@ -6,14 +6,6 @@ * See the file LICENSE for redistribution information. */ -static inline int __wt_txn_id_check(WT_SESSION_IMPL *session); -static inline void __wt_txn_read_last(WT_SESSION_IMPL *session); - -typedef enum { - WT_VISIBLE_FALSE=0, /* Not a visible update */ - WT_VISIBLE_PREPARE=1, /* Prepared update */ - WT_VISIBLE_TRUE=2 /* A visible update */ -} WT_VISIBLE_TYPE; /* * __wt_ref_cas_state_int -- * Try to do a compare and swap, if successful update the ref history in @@ -1059,7 +1051,7 @@ __wt_txn_id_check(WT_SESSION_IMPL *session) /* If the transaction is idle, check that the cache isn't full. */ WT_RET(__wt_txn_idle_cache_check(session)); - (void)__wt_txn_id_alloc(session, true); + WT_IGNORE_RET(__wt_txn_id_alloc(session, true)); /* * If we have used 64-bits of transaction IDs, there is nothing |