From 292b6c8757a9f5207b04758e9459846d602af929 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Oct 2001 20:34:00 +0000 Subject: [PATCH] Replace #if 0 with #if MACRO --- servers/slapd/back-bdb/back-bdb.h | 2 ++ servers/slapd/back-bdb/config.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5