diff options
Diffstat (limited to 'src/btree/bt_discard.c')
-rw-r--r-- | src/btree/bt_discard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_discard.c b/src/btree/bt_discard.c index 7858d2cb14e..c2733d6567b 100644 --- a/src/btree/bt_discard.c +++ b/src/btree/bt_discard.c @@ -44,7 +44,7 @@ __wt_ref_out(WT_SESSION_IMPL *session, WT_REF *ref) * Wait for up to a second for hazard pointers to be cleared. */ for (hp = NULL, i = 0; i < 100; i++) { - if ((hp = __wt_page_hazard_check(session, ref)) == NULL) + if ((hp = __wt_hazard_check(session, ref)) == NULL) break; __wt_sleep(0, 10000); } |