diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/reconcile/rec_col.c')
-rw-r--r-- | src/third_party/wiredtiger/src/reconcile/rec_col.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/reconcile/rec_col.c b/src/third_party/wiredtiger/src/reconcile/rec_col.c index ca6b0b4adaa..0b52a9e657a 100644 --- a/src/third_party/wiredtiger/src/reconcile/rec_col.c +++ b/src/third_party/wiredtiger/src/reconcile/rec_col.c @@ -606,14 +606,12 @@ __wt_rec_col_var( btree = S2BT(session); vpack = &_vpack; + cbt = &r->update_modify_cbt; page = pageref->page; upd = NULL; size = 0; data = NULL; - cbt = &r->update_modify_cbt; - cbt->iface.session = (WT_SESSION *)session; - /* * Acquire the newest-durable timestamp for this page so we can roll it forward. If it exists, * it's in the WT_REF structure or the parent's disk image. @@ -774,7 +772,8 @@ __wt_rec_col_var( switch (upd->type) { case WT_UPDATE_MODIFY: cbt->slot = WT_COL_SLOT(page, cip); - WT_ERR(__wt_value_return_upd(cbt, upd, F_ISSET(r, WT_REC_VISIBLE_ALL))); + WT_ERR( + __wt_value_return_upd(session, cbt, upd, F_ISSET(r, WT_REC_VISIBLE_ALL))); data = cbt->iface.value.data; size = (uint32_t)cbt->iface.value.size; update_no_copy = false; @@ -1031,7 +1030,8 @@ compare: * Impossible slot, there's no backing on-page item. */ cbt->slot = UINT32_MAX; - WT_ERR(__wt_value_return_upd(cbt, upd, F_ISSET(r, WT_REC_VISIBLE_ALL))); + WT_ERR( + __wt_value_return_upd(session, cbt, upd, F_ISSET(r, WT_REC_VISIBLE_ALL))); data = cbt->iface.value.data; size = (uint32_t)cbt->iface.value.size; update_no_copy = false; |