summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/txn/txn_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/txn/txn_ext.c')
-rw-r--r--src/third_party/wiredtiger/src/txn/txn_ext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/txn/txn_ext.c b/src/third_party/wiredtiger/src/txn/txn_ext.c
index b0ad3acfd9a..645d410efad 100644
--- a/src/third_party/wiredtiger/src/txn/txn_ext.c
+++ b/src/third_party/wiredtiger/src/txn/txn_ext.c
@@ -21,7 +21,7 @@ __wt_ext_transaction_id(WT_EXTENSION_API *wt_api, WT_SESSION *wt_session)
session = (WT_SESSION_IMPL *)wt_session;
/* Ignore failures: the only case is running out of transaction IDs. */
WT_IGNORE_RET(__wt_txn_id_check(session));
- return (session->txn.id);
+ return (session->txn->id);
}
/*
@@ -37,7 +37,7 @@ __wt_ext_transaction_isolation_level(WT_EXTENSION_API *wt_api, WT_SESSION *wt_se
(void)wt_api; /* Unused parameters */
session = (WT_SESSION_IMPL *)wt_session;
- txn = &session->txn;
+ txn = session->txn;
if (txn->isolation == WT_ISO_READ_COMMITTED)
return (WT_TXN_ISO_READ_COMMITTED);
@@ -59,7 +59,7 @@ __wt_ext_transaction_notify(WT_EXTENSION_API *wt_api, WT_SESSION *wt_session, WT
(void)wt_api; /* Unused parameters */
session = (WT_SESSION_IMPL *)wt_session;
- txn = &session->txn;
+ txn = session->txn;
/*
* XXX For now, a single slot for notifications: I'm not bothering with more than one because