diff options
Diffstat (limited to 'src/evict/evict_page.c')
-rw-r--r-- | src/evict/evict_page.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evict/evict_page.c b/src/evict/evict_page.c index 92ad8d296df..fe08916b24c 100644 --- a/src/evict/evict_page.c +++ b/src/evict/evict_page.c @@ -59,6 +59,9 @@ __wt_evict(WT_SESSION_IMPL *session, WT_REF *ref, int exclusive) conn = S2C(session); + /* Checkpoints should never do eviction. */ + WT_ASSERT(session, !WT_SESSION_IS_CHECKPOINT(session)); + page = ref->page; forced_eviction = (page->read_gen == WT_READGEN_OLDEST); inmem_split = 0; |