diff options
Diffstat (limited to 'src/third_party/wiredtiger/dist/stat.py')
-rw-r--r-- | src/third_party/wiredtiger/dist/stat.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/dist/stat.py b/src/third_party/wiredtiger/dist/stat.py index dfea67d8e21..2354c123a7d 100644 --- a/src/third_party/wiredtiger/dist/stat.py +++ b/src/third_party/wiredtiger/dist/stat.py @@ -2,7 +2,7 @@ # initialize and refresh code. import re, string, sys, textwrap -from dist import compare_srcfile +from dist import compare_srcfile, format_srcfile # Read the source files. from stat_data import groups, dsrc_stats, connection_stats, join_stats, \ @@ -39,6 +39,7 @@ for line in open('../src/include/stat.h', 'r'): print_struct('join cursors', 'join', 3000, join_stats) print_struct('session', 'session', 4000, session_stats) f.close() +format_srcfile(tmp_file) compare_srcfile(tmp_file, '../src/include/stat.h') def print_defines_one(capname, base, stats): @@ -256,4 +257,5 @@ print_func('connection', 'WT_CONNECTION_IMPL', connection_stats) print_func('join', None, join_stats) print_func('session', None, session_stats) f.close() +format_srcfile(tmp_file) compare_srcfile(tmp_file, '../src/support/stat.c') |