diff options
-rw-r--r-- | src/btree/bt_curnext.c | 1 | ||||
-rw-r--r-- | src/btree/bt_curprev.c | 1 | ||||
-rw-r--r-- | src/include/cursor.i | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/bt_curnext.c b/src/btree/bt_curnext.c index 70b3ba56e31..ddf31528ec3 100644 --- a/src/btree/bt_curnext.c +++ b/src/btree/bt_curnext.c @@ -179,6 +179,7 @@ __cursor_var_next(WT_CURSOR_BTREE *cbt, bool newpage) /* Initialize for each new page. */ if (newpage) { + cbt->cip_saved = NULL; cbt->last_standard_recno = __col_var_last_recno(cbt->ref); if (cbt->last_standard_recno == 0) return (WT_NOTFOUND); diff --git a/src/btree/bt_curprev.c b/src/btree/bt_curprev.c index 872f648446c..ad847671c12 100644 --- a/src/btree/bt_curprev.c +++ b/src/btree/bt_curprev.c @@ -325,6 +325,7 @@ __cursor_var_prev(WT_CURSOR_BTREE *cbt, bool newpage) /* Initialize for each new page. */ if (newpage) { + cbt->cip_saved = NULL; cbt->last_standard_recno = __col_var_last_recno(cbt->ref); if (cbt->last_standard_recno == 0) return (WT_NOTFOUND); diff --git a/src/include/cursor.i b/src/include/cursor.i index 553dd03f958..339ec2083ac 100644 --- a/src/include/cursor.i +++ b/src/include/cursor.i @@ -38,7 +38,6 @@ __cursor_pos_clear(WT_CURSOR_BTREE *cbt) cbt->ins_head = NULL; cbt->ins_stack[0] = NULL; - cbt->cip_saved = NULL; cbt->rip_saved = NULL; F_CLR(cbt, WT_CBT_POSITION_MASK); |