summaryrefslogtreecommitdiff
path: root/src/btree/bt_curnext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree/bt_curnext.c')
-rw-r--r--src/btree/bt_curnext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_curnext.c b/src/btree/bt_curnext.c
index 4d3976f9647..ba5fceae7c7 100644
--- a/src/btree/bt_curnext.c
+++ b/src/btree/bt_curnext.c
@@ -338,7 +338,7 @@ new_insert: if ((ins = cbt->ins) != NULL) {
}
/* Check for the end of the page. */
- if (cbt->row_iteration_slot >= page->pg_row_entries * 2 + 1)
+ if (cbt->row_iteration_slot >= page->entries * 2 + 1)
return (WT_NOTFOUND);
++cbt->row_iteration_slot;
@@ -356,7 +356,7 @@ new_insert: if ((ins = cbt->ins) != NULL) {
cbt->ins = NULL;
cbt->slot = cbt->row_iteration_slot / 2 - 1;
- rip = &page->pg_row_d[cbt->slot];
+ rip = &page->pg_row[cbt->slot];
upd = __wt_txn_read(session, WT_ROW_UPDATE(page, rip));
if (upd != NULL && WT_UPDATE_DELETED_ISSET(upd)) {
if (__wt_txn_visible_all(session, upd->txnid))