summaryrefslogtreecommitdiff
path: root/src/include/lsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/lsm.h')
-rw-r--r--src/include/lsm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/lsm.h b/src/include/lsm.h
index 444073087df..2550ca444c1 100644
--- a/src/include/lsm.h
+++ b/src/include/lsm.h
@@ -228,11 +228,11 @@ struct __wt_lsm_tree {
* area, copying them into place when a statistics cursor is created.
*/
#define WT_LSM_TREE_STAT_INCR(session, fld) do { \
- if (FLD_ISSET(S2C(session)->stat_flags, WT_CONN_STAT_FAST)) \
+ if (WT_STAT_ENABLED(session)) \
++(fld); \
} while (0)
#define WT_LSM_TREE_STAT_INCRV(session, fld, v) do { \
- if (FLD_ISSET(S2C(session)->stat_flags, WT_CONN_STAT_FAST)) \
+ if (WT_STAT_ENABLED(session)) \
(fld) += (int64_t)(v); \
} while (0)
int64_t bloom_false_positive;