summaryrefslogtreecommitdiff
path: root/dist/s_define
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-04-09 10:46:06 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-04-09 10:46:06 -0400
commit245720c941a2ee6437282fe8851724ee1fee64df (patch)
tree1e577f4ece52d33d4921777c5cc0baa8b3d5f37d /dist/s_define
parent5c996469bab6ae9171244505918671eb06f22ca6 (diff)
downloadmongo-245720c941a2ee6437282fe8851724ee1fee64df.tar.gz
First cut at moving the configuration information into the WT_CONNECTION_IMPL
structure: create the array of WT_CONFIG_ENTRY structures that the connection references, and a set of #defines so we can easily reference any single slot. Replace API_CONF_DEFAULTS and explicit references to the old structures with WT_CONFIG_VALUE and WT_CONFIG_CHECKS. Some (hopefully) minor shuffling of the cfg array manipulation in various chunks of code. The test suite and various test programs run with this change.
Diffstat (limited to 'dist/s_define')
-rw-r--r--dist/s_define4
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/s_define b/dist/s_define
index 0819a91f353..a03021ba711 100644
--- a/dist/s_define
+++ b/dist/s_define
@@ -13,9 +13,11 @@ l="$l `echo ../src/include/*.i ../src/utilities/*.c `"
sed -e '/^$/d' -e '/^#/d' < s_define.list
# Get the list of #defines.
+# Ignore the list of configuration objects
# Ignore the list of statistic "keys" generated for applications.
search=`cat ../src/include/*.[hi] ../src/include/*.in |
- sed -e '/Statistics section: BEGIN/,/Statistics section: END/d' |
+ sed -e '/configuration section: BEGIN/,/configuration section: END/d' \
+ -e '/Statistics section: BEGIN/,/Statistics section: END/d' |
egrep '^#define' |
sed 's/#define[ ][ ]*\([A-Za-z_][A-Za-z0-9_]*\).*/\1/' |
sort -u`