diff options
author | Ramon Fernandez <ramon.fernandez@mongodb.com> | 2015-04-27 11:33:41 -0400 |
---|---|---|
committer | Ramon Fernandez <ramon.fernandez@mongodb.com> | 2015-04-27 11:33:47 -0400 |
commit | 34b853ed0566a3bbffcd825191b9000de331bddc (patch) | |
tree | 06f3f81436489f252da15900b2fef169e7ca1bde /src/third_party/wiredtiger/src/support/hazard.c | |
parent | 076cd926ab476f872afdd89a0e5e7e733d26c3ae (diff) | |
download | mongo-34b853ed0566a3bbffcd825191b9000de331bddc.tar.gz |
SERVER-18199 Import wiredtiger-wiredtiger-2.5.3-371-g1f44c05.tar.gz from wiredtiger branch mongodb-3.2
Diffstat (limited to 'src/third_party/wiredtiger/src/support/hazard.c')
-rw-r--r-- | src/third_party/wiredtiger/src/support/hazard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/support/hazard.c b/src/third_party/wiredtiger/src/support/hazard.c index bc44f7967a5..37cb8bf6ce0 100644 --- a/src/third_party/wiredtiger/src/support/hazard.c +++ b/src/third_party/wiredtiger/src/support/hazard.c @@ -33,7 +33,7 @@ __wt_hazard_set(WT_SESSION_IMPL *session, WT_REF *ref, int *busyp *busyp = 0; /* If a file can never be evicted, hazard pointers aren't required. */ - if (F_ISSET(btree, WT_BTREE_NO_HAZARD)) + if (F_ISSET(btree, WT_BTREE_IN_MEMORY)) return (0); /* @@ -142,7 +142,7 @@ __wt_hazard_clear(WT_SESSION_IMPL *session, WT_PAGE *page) btree = S2BT(session); /* If a file can never be evicted, hazard pointers aren't required. */ - if (F_ISSET(btree, WT_BTREE_NO_HAZARD)) + if (F_ISSET(btree, WT_BTREE_IN_MEMORY)) return (0); /* |