summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/mutex.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2018-12-17 15:19:04 +1100
committerLuke Chen <luke.chen@mongodb.com>2018-12-17 15:19:04 +1100
commit0a29c7a7c5737b0e6027cf4cb01828b1abd8f41c (patch)
treeb81a77c211f7e41a58a9eeb5612c4e38a796e682 /src/third_party/wiredtiger/src/include/mutex.h
parent53d8b294b81f70ec183f5d95be6440ecc5f8a728 (diff)
downloadmongo-0a29c7a7c5737b0e6027cf4cb01828b1abd8f41c.tar.gz
Import wiredtiger: d5793d4dd57bb763079e3f79821444e7e666ff44 from branch mongodb-4.2
ref: 5812c92f5f..d5793d4dd5 for: 4.1.7 WT-4280 Add debugging to know which session has a hazard pointer WT-4430 Fix race between prepare and page instantiate with fast truncate WT-4482 lint
Diffstat (limited to 'src/third_party/wiredtiger/src/include/mutex.h')
-rw-r--r--src/third_party/wiredtiger/src/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/include/mutex.h b/src/third_party/wiredtiger/src/include/mutex.h
index 5c836526a21..703ee12afc1 100644
--- a/src/third_party/wiredtiger/src/include/mutex.h
+++ b/src/third_party/wiredtiger/src/include/mutex.h
@@ -82,7 +82,7 @@ struct __wt_rwlock { /* Read/write lock */
WT_RWLOCK_INIT_TRACKED(session, l, name); \
(l)->stat_session_usecs_off = \
(int16_t)WT_SESSION_STATS_FIELD_TO_OFFSET( \
- &(session->stats), lock_##name##_wait); \
+ &(session)->stats, lock_##name##_wait); \
} while (0)
/*