summaryrefslogtreecommitdiff
path: root/dist/stat.py
diff options
context:
space:
mode:
Diffstat (limited to 'dist/stat.py')
-rw-r--r--dist/stat.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/stat.py b/dist/stat.py
index 53cbf30cf16..2a87d4425e6 100644
--- a/dist/stat.py
+++ b/dist/stat.py
@@ -123,7 +123,13 @@ __wt_stat_refresh_''' + name + '''_stats(void *stats_arg)
f.write('}\n')
# Aggregation is only interesting for data-source statistics.
+ # Complain if any aggregation flags are set.
if name == 'connection':
+ for l in sorted(list):
+ if 'no_aggregate' in l.flags or 'max_aggregate' in l.flags:
+ print >>sys.stdout,\
+ "Aggregation configuration for " +\
+ name + "." + l.name + " statistics not supported"
return;
f.write('''