summaryrefslogtreecommitdiff
path: root/src/btree/bt_page.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-13 19:36:56 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-13 19:36:56 -0400
commit368f622ba7e7eaca691ba4a4a433c614709bdbea (patch)
treeba6b240debade7e04335658cd95342ffc1a4c5b5 /src/btree/bt_page.c
parent7c1abeab21aa31f4b73f1974a6cbdd56cea0bc7c (diff)
downloadmongo-368f622ba7e7eaca691ba4a4a433c614709bdbea.tar.gz
Rename atomic functions from number of bytes to number of bits.
Diffstat (limited to 'src/btree/bt_page.c')
-rw-r--r--src/btree/bt_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_page.c b/src/btree/bt_page.c
index d97a0280e4b..414f7c88ff7 100644
--- a/src/btree/bt_page.c
+++ b/src/btree/bt_page.c
@@ -326,8 +326,8 @@ err: if ((pindex = WT_INTL_INDEX_GET_SAFE(page)) != NULL) {
/* Increment the cache statistics. */
__wt_cache_page_inmem_incr(session, page, size);
- (void)__wt_atomic_add8(&cache->bytes_read, size);
- (void)__wt_atomic_add8(&cache->pages_inmem, 1);
+ (void)__wt_atomic_add64(&cache->bytes_read, size);
+ (void)__wt_atomic_add64(&cache->pages_inmem, 1);
*pagep = page;
return (0);