From d1eb0a0f8d51c5e42860486340e4b2aee5a3a490 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Wed, 13 Aug 2014 10:17:20 +1000 Subject: Add flags to page release, respect WT_READ_NO_GEN to avoid forced eviction. refs #1128, #1134 --- src/btree/bt_vrfy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/btree/bt_vrfy.c') diff --git a/src/btree/bt_vrfy.c b/src/btree/bt_vrfy.c index 43b205054cb..d720afe8881 100644 --- a/src/btree/bt_vrfy.c +++ b/src/btree/bt_vrfy.c @@ -441,7 +441,7 @@ celltype_err: WT_RET_MSG(session, WT_ERROR, /* Verify the subtree. */ WT_RET(__wt_page_in(session, child_ref, 0)); ret = __verify_tree(session, child_ref, vs); - WT_TRET(__wt_page_release(session, child_ref)); + WT_TRET(__wt_page_release(session, child_ref, 0)); WT_RET(ret); __wt_cell_unpack(child_ref->addr, unpack); @@ -469,7 +469,7 @@ celltype_err: WT_RET_MSG(session, WT_ERROR, /* Verify the subtree. */ WT_RET(__wt_page_in(session, child_ref, 0)); ret = __verify_tree(session, child_ref, vs); - WT_TRET(__wt_page_release(session, child_ref)); + WT_TRET(__wt_page_release(session, child_ref, 0)); WT_RET(ret); __wt_cell_unpack(child_ref->addr, unpack); -- cgit v1.2.1