From: Howard Chu Date: Sun, 25 Jul 2004 19:49:24 +0000 (+0000) Subject: Fix spurious warning for fasttool keyword when running in Server mode X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05fd32498d272bac5fc8924ffd7badd56137bba4;p=openldap Fix spurious warning for fasttool keyword when running in Server mode --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index f48e065d40..725ad4418d 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -65,8 +65,8 @@ bdb_db_config( bdb->bi_dbenv_xflags |= DB_TXN_NOSYNC; /* slapadd/slapindex logging configuration */ - } else if ( strcasecmp( argv[0], "fasttool" ) == 0 && - slapMode & SLAP_TOOL_MODE ) { + } else if ( strcasecmp( argv[0], "fasttool" ) == 0 ) { + if ( slapMode & SLAP_TOOL_MODE ) bdb->bi_dbenv_xflags |= DB_TXN_NOT_DURABLE; /* slapindex algorithm tuning */