diff options
Diffstat (limited to 'src/btree/bt_page.c')
-rw-r--r-- | src/btree/bt_page.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/btree/bt_page.c b/src/btree/bt_page.c index 41cc8f9398c..ad8f0293108 100644 --- a/src/btree/bt_page.c +++ b/src/btree/bt_page.c @@ -76,8 +76,12 @@ __wt_page_in_func(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t flags for (force_attempts = 0, oldgen = false, wait_cnt = 0;;) { switch (ref->state) { - case WT_REF_DISK: case WT_REF_DELETED: + if (LF_ISSET(WT_READ_NO_EMPTY) && + __wt_delete_page_skip(session, ref, false)) + return (WT_NOTFOUND); + /* FALLTHROUGH */ + case WT_REF_DISK: if (LF_ISSET(WT_READ_CACHE)) return (WT_NOTFOUND); |