summaryrefslogtreecommitdiff
path: root/src/btree/bt_ret.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree/bt_ret.c')
-rw-r--r--src/btree/bt_ret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_ret.c b/src/btree/bt_ret.c
index ebc0499f6a2..8ef2db67e7b 100644
--- a/src/btree/bt_ret.c
+++ b/src/btree/bt_ret.c
@@ -46,7 +46,7 @@ __wt_kv_return(WT_SESSION_IMPL *session, WT_CURSOR_BTREE *cbt, WT_UPDATE *upd)
}
/* Take the value from the original page. */
- v = __bit_getv_recno(page, cbt->iface.recno, btree->bitcnt);
+ v = __bit_getv_recno(cbt->ref, cursor->recno, btree->bitcnt);
return (__wt_buf_set(session, &cursor->value, &v, 1));
case WT_PAGE_COL_VAR:
/*