summaryrefslogtreecommitdiff
path: root/src/btree/bt_curnext.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-11-16 18:19:48 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-11-16 18:19:48 +1100
commitc7258fd32736db32a01981c12625213d0b865310 (patch)
treebb97e79a99644cad2342df69cfd6d9c3fe491e53 /src/btree/bt_curnext.c
parentd98d02ecc03d6dbc7b342c05d4b3e9953a8af119 (diff)
downloadmongo-c7258fd32736db32a01981c12625213d0b865310.tar.gz
Don't automatically fail inserts if the write generation check fails: compare keys instead.
Diffstat (limited to 'src/btree/bt_curnext.c')
-rw-r--r--src/btree/bt_curnext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_curnext.c b/src/btree/bt_curnext.c
index d08f113fd90..6bfc4a8ad89 100644
--- a/src/btree/bt_curnext.c
+++ b/src/btree/bt_curnext.c
@@ -100,7 +100,7 @@ __cursor_fix_next(WT_CURSOR_BTREE *cbt, int newpage)
new_page: /* Check any insert list for a matching record. */
cbt->ins_head = WT_COL_UPDATE_SINGLE(cbt->page);
cbt->ins = __col_insert_search(
- cbt->ins_head, cbt->ins_stack, cbt->recno);
+ cbt->ins_head, cbt->ins_stack, cbt->next_stack, cbt->recno);
if (cbt->ins != NULL &&
cbt->recno != WT_INSERT_RECNO(cbt->ins))
cbt->ins = NULL;