summaryrefslogtreecommitdiff
path: root/src/include/txn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/txn.h')
-rw-r--r--src/include/txn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/txn.h b/src/include/txn.h
index 0d5f337fff0..9f9f282bfa4 100644
--- a/src/include/txn.h
+++ b/src/include/txn.h
@@ -34,6 +34,7 @@ struct WT_COMPILER_TYPE_ALIGN(WT_CACHE_LINE_ALIGNMENT) __wt_txn_state {
};
struct __wt_txn_global {
+ WT_SPINLOCK id_lock;
volatile uint64_t current; /* Current transaction ID. */
/* The oldest running transaction ID (may race). */