summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/btree/bt_curprev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_curprev.c')
-rw-r--r--src/third_party/wiredtiger/src/btree/bt_curprev.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_curprev.c b/src/third_party/wiredtiger/src/btree/bt_curprev.c
index f3fcbd24144..c71fa5d25e8 100644
--- a/src/third_party/wiredtiger/src/btree/bt_curprev.c
+++ b/src/third_party/wiredtiger/src/btree/bt_curprev.c
@@ -256,7 +256,7 @@ new_page:
__wt_upd_value_clear(cbt->upd_value);
if (cbt->ins != NULL)
restart_read:
- WT_RET(__wt_txn_read(session, cbt, NULL, cbt->recno, cbt->ins->upd, NULL));
+ WT_RET(__wt_txn_read(session, cbt, NULL, cbt->recno, cbt->ins->upd, NULL));
if (cbt->upd_value->type == WT_UPDATE_INVALID) {
cbt->v = __bit_getv_recno(cbt->ref, cbt->recno, btree->bitcnt);
cbt->iface.value.data = &cbt->v;
@@ -675,8 +675,9 @@ __wt_btcur_prev(WT_CURSOR_BTREE *cbt, bool truncating)
* from reconciliation getting rid of the obsolete content. Hence mark the page dirty to
* force it through reconciliation.
*/
- if (page != NULL && (cbt->page_deleted_count > WT_BTREE_DELETE_THRESHOLD ||
- (newpage && cbt->page_deleted_count > 0))) {
+ if (page != NULL &&
+ (cbt->page_deleted_count > WT_BTREE_DELETE_THRESHOLD ||
+ (newpage && cbt->page_deleted_count > 0))) {
WT_ERR(__wt_page_dirty_and_evict_soon(session, cbt->ref));
WT_STAT_CONN_INCR(session, cache_eviction_force_delete);
}