diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-04-15 19:13:28 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-04-15 19:13:28 -0400 |
commit | fa2dd207a9ba94bb0ada7dc2749145f8f1413ab9 (patch) | |
tree | 5e8ecc18925371275f0ac4cd3f0cda6333f6b218 /dist/api_config.py | |
parent | 97612b65e0c395d867c24ac476442fbdf6ff44b6 (diff) | |
download | mongo-fa2dd207a9ba94bb0ada7dc2749145f8f1413ab9.tar.gz |
I changed auto-generated code, fix api_config.py to generate the code
I want.
Diffstat (limited to 'dist/api_config.py')
-rw-r--r-- | dist/api_config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dist/api_config.py b/dist/api_config.py index aacf5d1f7a0..b451e939ef3 100644 --- a/dist/api_config.py +++ b/dist/api_config.py @@ -306,8 +306,7 @@ __wt_conn_config_init(WT_SESSION_IMPL *session) \tconn = S2C(session); \t/* Build a list of pointers to the configuration information. */ -\tWT_RET(__wt_calloc_def(session, -\t sizeof(config_entries) / sizeof(config_entries[0]), &epp)); +\tWT_RET(__wt_calloc_def(session, WT_ELEMENTS(config_entries), &epp)); \tconn->config_entries = epp; \t/* Fill in the list to reference the default information. */ |