summaryrefslogtreecommitdiff
path: root/src/btree/bt_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree/bt_cursor.c')
-rw-r--r--src/btree/bt_cursor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/btree/bt_cursor.c b/src/btree/bt_cursor.c
index 0b5d9e118d4..4ecc6a5e5b9 100644
--- a/src/btree/bt_cursor.c
+++ b/src/btree/bt_cursor.c
@@ -446,7 +446,7 @@ __wt_btcur_insert(WT_CURSOR_BTREE *cbt)
__wt_btree_evictable(session, true);
}
-retry: WT_RET(__cursor_func_init(cbt, 1));
+retry: WT_RET(__cursor_func_init(cbt, true));
switch (btree->type) {
case BTREE_COL_FIX:
@@ -555,7 +555,7 @@ __wt_btcur_update_check(WT_CURSOR_BTREE *cbt)
btree = cbt->btree;
session = (WT_SESSION_IMPL *)cursor->session;
-retry: WT_RET(__cursor_func_init(cbt, 1));
+retry: WT_RET(__cursor_func_init(cbt, true));
switch (btree->type) {
case BTREE_ROW:
@@ -602,7 +602,7 @@ __wt_btcur_remove(WT_CURSOR_BTREE *cbt)
if (btree->type == BTREE_ROW)
WT_RET(__cursor_size_chk(session, &cursor->key));
-retry: WT_RET(__cursor_func_init(cbt, 1));
+retry: WT_RET(__cursor_func_init(cbt, true));
switch (btree->type) {
case BTREE_COL_FIX:
@@ -698,7 +698,7 @@ __wt_btcur_update(WT_CURSOR_BTREE *cbt)
__wt_btree_evictable(session, true);
}
-retry: WT_RET(__cursor_func_init(cbt, 1));
+retry: WT_RET(__cursor_func_init(cbt, true));
switch (btree->type) {
case BTREE_COL_FIX:
@@ -781,7 +781,7 @@ __wt_btcur_next_random(WT_CURSOR_BTREE *cbt)
WT_STAT_FAST_CONN_INCR(session, cursor_next);
WT_STAT_FAST_DATA_INCR(session, cursor_next);
- WT_RET(__cursor_func_init(cbt, 1));
+ WT_RET(__cursor_func_init(cbt, true));
WT_WITH_PAGE_INDEX(session,
ret = __wt_row_random(session, cbt));