From 05fd32498d272bac5fc8924ffd7badd56137bba4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 25 Jul 2004 19:49:24 +0000 Subject: [PATCH] Fix spurious warning for fasttool keyword when running in Server mode --- servers/slapd/back-bdb/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.39.5