summaryrefslogtreecommitdiff
path: root/src/include/cursor.i
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-09-23 10:20:37 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-09-23 10:20:37 -0400
commit088a2ad25d214d00b116c638ddbb232b9e8b60cf (patch)
tree9bee25a31335392e80581eb7ba6e07527d517493 /src/include/cursor.i
parent759496b3e1cf7ac9045b5fc2bb09ea6d0485fd17 (diff)
downloadmongo-088a2ad25d214d00b116c638ddbb232b9e8b60cf.tar.gz
Boolean conversion for the rest of the btree code.
Diffstat (limited to 'src/include/cursor.i')
-rw-r--r--src/include/cursor.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/cursor.i b/src/include/cursor.i
index e7fed250251..d348e61be94 100644
--- a/src/include/cursor.i
+++ b/src/include/cursor.i
@@ -60,7 +60,7 @@ __cursor_enter(WT_SESSION_IMPL *session)
* whether the cache is full.
*/
if (session->ncursors == 0)
- WT_RET(__wt_cache_eviction_check(session, 0, NULL));
+ WT_RET(__wt_cache_eviction_check(session, false, NULL));
++session->ncursors;
return (0);
}
@@ -296,7 +296,7 @@ __cursor_row_slot_return(WT_CURSOR_BTREE *cbt, WT_ROW *rip, WT_UPDATE *upd)
* already did __wt_row_leaf_key's fast-path checks inline.
*/
slow: WT_RET(__wt_row_leaf_key_work(
- session, page, rip, cbt->row_key, 0));
+ session, page, rip, cbt->row_key, false));
}
kb->data = cbt->row_key->data;
kb->size = cbt->row_key->size;