summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2015-11-19 01:02:59 +0000
committerAlex Gorrod <alexg@wiredtiger.com>2015-11-19 01:02:59 +0000
commite45e07383d0ded0d046a7320fcbae55134845e8b (patch)
tree3c9195da720ae5d4e62d6d17f5232d704aa9ebf8 /src
parent76d4b2f41e816cd496d577c6909ef0ac7101bfbf (diff)
downloadmongo-e45e07383d0ded0d046a7320fcbae55134845e8b.tar.gz
WT-2222 Fixup snapshot statistics re: review comments.
Diffstat (limited to 'src')
-rw-r--r--src/support/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/stat.c b/src/support/stat.c
index cee380eced6..4d7cd65fd18 100644
--- a/src/support/stat.c
+++ b/src/support/stat.c
@@ -836,8 +836,8 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats)
stats->page_locked_blocked = 0;
stats->page_read_blocked = 0;
stats->page_sleep = 0;
- /* not clearing txn_snapshots_created */
- /* not clearing txn_snapshots_dropped */
+ stats->txn_snapshots_created = 0;
+ stats->txn_snapshots_dropped = 0;
stats->txn_begin = 0;
/* not clearing txn_checkpoint_running */
/* not clearing txn_checkpoint_generation */