summaryrefslogtreecommitdiff
path: root/src/btree
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree')
-rw-r--r--src/btree/bt_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_stat.c b/src/btree/bt_stat.c
index 93793891807..3da0bcf346c 100644
--- a/src/btree/bt_stat.c
+++ b/src/btree/bt_stat.c
@@ -38,7 +38,7 @@ __wt_btree_stat_init(WT_SESSION_IMPL *session, WT_CURSOR_STAT *cst)
WT_STAT_SET(stats, btree_maxleafpage, btree->maxleafpage);
/* Everything else is really, really expensive. */
- if (!cst->stat_all)
+ if (!F_ISSET(cst, WT_CONN_STAT_ALL))
return (0);
next_walk = NULL;