From fa2dd207a9ba94bb0ada7dc2749145f8f1413ab9 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 15 Apr 2015 19:13:28 -0400 Subject: I changed auto-generated code, fix api_config.py to generate the code I want. --- dist/api_config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dist/api_config.py') 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. */ -- cgit v1.2.1