diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-03-28 13:15:53 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-03-28 13:15:53 -0400 |
commit | 0c9f1341e2fdb93d3bd4d3fc58176f6ad169825e (patch) | |
tree | fd787a5b5b1953186f08c67872bca74f49cc8ec9 /src/btree/col_srch.c | |
parent | 835bbdfa6a2a0c842237764bd2d8dd3a522ab525 (diff) | |
download | mongo-0c9f1341e2fdb93d3bd4d3fc58176f6ad169825e.tar.gz |
When we find a record in the slot's update skiplist, but then want to
jump past the rest of the deleted records, we have to adjust based on
the starting record of the slot, use the page's repeat array to find
that starting record.
Another run at the __col_insert_search_gt (the greater-than skiplist
search), hopefully it's finally correct.
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 4ebdde8674c..df31748e569 100644 --- a/src/btree/col_srch.c +++ b/src/btree/col_srch.c @@ -133,7 +133,7 @@ leaf_only: } else ins_head = WT_COL_UPDATE_SINGLE(page); } else - if ((cip = __col_var_search(page, recno)) == NULL) { + if ((cip = __col_var_search(page, recno, NULL)) == NULL) { cbt->recno = __col_var_last_recno(page); goto past_end; } else { |