summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/btree/bt_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_read.c')
-rw-r--r--src/third_party/wiredtiger/src/btree/bt_read.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_read.c b/src/third_party/wiredtiger/src/btree/bt_read.c
index 81adc9de7a1..e75680fc946 100644
--- a/src/third_party/wiredtiger/src/btree/bt_read.c
+++ b/src/third_party/wiredtiger/src/btree/bt_read.c
@@ -31,8 +31,8 @@ __col_instantiate(
__wt_free_update_list(session, upd);
/* Search the page and add updates. */
- WT_RET(__wt_col_search(cbt, recno, ref, true, NULL));
- WT_RET(__wt_col_modify(cbt, recno, NULL, updlist, WT_UPDATE_INVALID, false));
+ WT_RET(__wt_col_search(session, recno, ref, cbt, true));
+ WT_RET(__wt_col_modify(session, cbt, recno, NULL, updlist, WT_UPDATE_INVALID, false));
return (0);
}
@@ -59,8 +59,8 @@ __row_instantiate(
__wt_free_update_list(session, upd);
/* Search the page and add updates. */
- WT_RET(__wt_row_search(cbt, key, true, ref, true, NULL));
- WT_RET(__wt_row_modify(cbt, key, NULL, updlist, WT_UPDATE_INVALID, false));
+ WT_RET(__wt_row_search(session, key, ref, cbt, true, true));
+ WT_RET(__wt_row_modify(session, cbt, key, NULL, updlist, WT_UPDATE_INVALID, false));
return (0);
}