From: Kurt Zeilenga Date: Wed, 3 Oct 2001 20:34:00 +0000 (+0000) Subject: Replace #if 0 with #if MACRO X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1008 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=292b6c8757a9f5207b04758e9459846d602af929;p=openldap Replace #if 0 with #if MACRO --- diff --git a/servers/slapd/back-bdb/back-bdb.h b/servers/slapd/back-bdb/back-bdb.h index 63f4fc5318..fb0b11e5a9 100644 --- a/servers/slapd/back-bdb/back-bdb.h +++ b/servers/slapd/back-bdb/back-bdb.h @@ -16,6 +16,8 @@ LDAP_BEGIN_DECL #define BBD_INDEX 1 +/* #define BDB_FILTER_INDICES 1 */ +/* #define BDB_CONFIG_INDICES 1 */ #define DN_BASE_PREFIX SLAP_INDEX_EQUALITY_PREFIX #define DN_ONE_PREFIX '%' diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 92a872d25c..d6a691422a 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -111,7 +111,7 @@ bdb_db_config( } bdb->bi_dbenv_mode = strtol( argv[1], NULL, 0 ); -#if 0 +#if BDB_CONFIG_INDICES /* attribute to index */ } else if ( strcasecmp( argv[0], "index" ) == 0 ) { int rc;