diff options
Diffstat (limited to 'src/btree')
-rw-r--r-- | src/btree/bt_curnext.c | 1 | ||||
-rw-r--r-- | src/btree/bt_curprev.c | 1 |
2 files changed, 2 insertions, 0 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); |