summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/cache.h')
-rw-r--r--src/third_party/wiredtiger/src/include/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/include/cache.h b/src/third_party/wiredtiger/src/include/cache.h
index f2899eda401..61f1e9f6f1b 100644
--- a/src/third_party/wiredtiger/src/include/cache.h
+++ b/src/third_party/wiredtiger/src/include/cache.h
@@ -246,7 +246,7 @@ struct __wt_cache {
#define WT_WITH_PASS_LOCK(session, op) \
do { \
- WT_ASSERT(session, !F_ISSET(session, WT_SESSION_LOCKED_PASS)); \
+ WT_ASSERT(session, !FLD_ISSET(session->lock_flags, WT_SESSION_LOCKED_PASS)); \
WT_WITH_LOCK_WAIT(session, &cache->evict_pass_lock, WT_SESSION_LOCKED_PASS, op); \
} while (0)