summaryrefslogtreecommitdiff
path: root/dist/stat.py
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-08-26 15:34:51 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-08-26 15:34:51 +1000
commitdbd19cb3954d64507d6f30768c7d0a28f91d8bee (patch)
tree121d57a030fea5183a5f0c4f5b51957f0a2dd0d5 /dist/stat.py
parente8d5f643057c27c020ba4fbe64b64dbc8c2513f2 (diff)
downloadmongo-dbd19cb3954d64507d6f30768c7d0a28f91d8bee.tar.gz
Rename __wt_conn_stats to __wt_connection_stats so the sorting is not locale-dependent.
Diffstat (limited to 'dist/stat.py')
-rw-r--r--dist/stat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/stat.py b/dist/stat.py
index 3d0549099ae..4a074d840fe 100644
--- a/dist/stat.py
+++ b/dist/stat.py
@@ -6,7 +6,7 @@ from dist import compare_srcfile
from dist import source_paths_list
# Read the source files.
-from stat_data import btree_stats, conn_stats
+from stat_data import btree_stats, connection_stats
# print_def --
# Print the structures for the stat.h file.
@@ -38,7 +38,7 @@ for line in open('../src/include/stat.h', 'r'):
f.write('\n')
skip = 1
print_struct('BTREE', 'btree', btree_stats)
- print_struct('CONNECTION', 'conn', conn_stats)
+ print_struct('CONNECTION', 'connection', connection_stats)
f.close()
compare_srcfile(tmp_file, '../src/include/stat.h')
@@ -89,7 +89,7 @@ f.write('/* DO NOT EDIT: automatically built by dist/stat.py. */\n\n')
f.write('#include "wt_internal.h"\n')
print_func('btree', btree_stats)
-print_func('conn', conn_stats)
+print_func('connection', connection_stats)
f.close()