summaryrefslogtreecommitdiff
path: root/src/btree/bt_handle.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-12-10 09:20:36 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-12-10 09:20:36 -0500
commit0fa23caa1d84aa2c9ab7a8122813815c38cc5f99 (patch)
tree95d44d4843358764bcc227804c6744805bb75be0 /src/btree/bt_handle.c
parentbab2c749256a4053177ef2e35b5be972aab4d0c8 (diff)
downloadmongo-0fa23caa1d84aa2c9ab7a8122813815c38cc5f99.tar.gz
WT-2262: don't overload the __wt_tree_walk walkcntp variable, use a new
variable in order to skip some number of leaf pages.
Diffstat (limited to 'src/btree/bt_handle.c')
-rw-r--r--src/btree/bt_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_handle.c b/src/btree/bt_handle.c
index 294cc399d65..d7054d40bda 100644
--- a/src/btree/bt_handle.c
+++ b/src/btree/bt_handle.c
@@ -622,7 +622,7 @@ __btree_get_last_recno(WT_SESSION_IMPL *session)
btree = S2BT(session);
next_walk = NULL;
- WT_RET(__wt_tree_walk(session, &next_walk, NULL, WT_READ_PREV));
+ WT_RET(__wt_tree_walk(session, &next_walk, NULL, NULL, WT_READ_PREV));
if (next_walk == NULL)
return (WT_NOTFOUND);