diff options
Diffstat (limited to 'src/evict/evict_page.c')
-rw-r--r-- | src/evict/evict_page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evict/evict_page.c b/src/evict/evict_page.c index e32488a92a6..b09ceb691d5 100644 --- a/src/evict/evict_page.c +++ b/src/evict/evict_page.c @@ -106,7 +106,7 @@ __wt_evict(WT_SESSION_IMPL *session, WT_REF *ref, bool closing) conn->cache->evict_max_page_size = page->memory_footprint; /* Update the reference and discard the page. */ - if (mod == NULL || !F_ISSET(mod, WT_PM_REC_MASK)) { + if (mod == NULL || mod->recon_result == 0) { if (__wt_ref_is_root(ref)) __wt_ref_out(session, ref); else @@ -184,7 +184,7 @@ __evict_page_dirty_update(WT_SESSION_IMPL *session, WT_REF *ref, bool closing) parent = ref->home; mod = ref->page->modify; - switch (F_MASK(mod, WT_PM_REC_MASK)) { + switch (mod->recon_result) { case WT_PM_REC_EMPTY: /* Page is empty */ /* Discard the parent's address. */ if (ref->addr != NULL && __wt_off_page(parent, ref->addr)) { |