diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-02-27 21:51:31 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-02-27 21:51:31 +1100 |
commit | 7ef65676b4f6a3cc8a96969f51eeca0e220a60f5 (patch) | |
tree | 320545569f8448c681e846777e1901c91b74c420 /src/btree/col_srch.c | |
parent | 55e1132fd2e77a2e20ed477d834d4e760ad3ab7b (diff) | |
download | mongo-7ef65676b4f6a3cc8a96969f51eeca0e220a60f5.tar.gz |
Switch to using hazard references for walks through the cache.
Diffstat (limited to 'src/btree/col_srch.c')
-rw-r--r-- | src/btree/col_srch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/col_srch.c b/src/btree/col_srch.c index b7af547b756..f5a72d06388 100644 --- a/src/btree/col_srch.c +++ b/src/btree/col_srch.c @@ -80,7 +80,7 @@ descend: WT_ASSERT(session, ref != NULL); * Swap the parent page for the child page; return on error, * the swap function ensures we're holding nothing on failure. */ - WT_RET(__wt_page_swap(session, page, page, ref)); + WT_RET(__wt_page_swap(session, page, page, ref, 0)); page = ref->page; } |