summaryrefslogtreecommitdiff
path: root/src/include/cache.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cache.i')
-rw-r--r--src/include/cache.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/cache.i b/src/include/cache.i
index 3af454775b2..f63a07de44e 100644
--- a/src/include/cache.i
+++ b/src/include/cache.i
@@ -161,7 +161,7 @@ __wt_session_can_wait(WT_SESSION_IMPL *session)
* highjack the thread for eviction.
*/
if (F_ISSET(session,
- WT_SESSION_NO_CACHE_CHECK | WT_SESSION_SCHEMA_LOCKED))
+ WT_SESSION_NO_CACHE_CHECK | WT_SESSION_LOCKED_SCHEMA))
return (0);
return (1);
@@ -183,7 +183,7 @@ __wt_cache_full_check(WT_SESSION_IMPL *session)
* block eviction), we don't want to highjack the thread for eviction.
*/
if (F_ISSET(session, WT_SESSION_NO_CACHE_CHECK |
- WT_SESSION_SCHEMA_LOCKED | WT_SESSION_HANDLE_LIST_LOCKED))
+ WT_SESSION_LOCKED_SCHEMA | WT_SESSION_LOCKED_HANDLE_LIST))
return (0);
/*