summaryrefslogtreecommitdiff
path: root/src/include/connection.h
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-10-31 23:57:05 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2016-11-01 14:57:05 +1100
commitc403455d8bb87d3c5a99a327a7aa75bdbf80cd4a (patch)
treec80a90920e06e712a7d835855323c057d7d74a21 /src/include/connection.h
parent04cdcbdafd529588d8a4a80ecc308ad01d507a55 (diff)
downloadmongo-c403455d8bb87d3c5a99a327a7aa75bdbf80cd4a.tar.gz
WT-2975 Only allocate space for statistics when we open a data source (#3107)
Diffstat (limited to 'src/include/connection.h')
-rw-r--r--src/include/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/connection.h b/src/include/connection.h
index 88c672ea49b..4e8e88bf6e4 100644
--- a/src/include/connection.h
+++ b/src/include/connection.h
@@ -290,7 +290,7 @@ struct __wt_connection_impl {
/* Connection statistics */
WT_CONNECTION_STATS *stats[WT_COUNTER_SLOTS];
- WT_CONNECTION_STATS stat_array[WT_COUNTER_SLOTS];
+ WT_CONNECTION_STATS *stat_array;
WT_ASYNC *async; /* Async structure */
int async_cfg; /* Global async configuration */