]> git.sur5r.net Git - openldap/commitdiff
Replace #if 0 with #if MACRO
authorKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 20:34:00 +0000 (20:34 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 20:34:00 +0000 (20:34 +0000)
servers/slapd/back-bdb/back-bdb.h
servers/slapd/back-bdb/config.c

index 63f4fc5318d2338b6bb68ee97e1a870b164e04fd..fb0b11e5a9a05971c58f5380c089c04273637dd1 100644 (file)
@@ -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          '%'
index 92a872d25ccf4e39341a57eda7cae6e84bceb467..d6a691422ac723fa17d6a70f0e84a12a65cdb5f0 100644 (file)
@@ -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;