From 86ab73ecd6e7e5a8adbdc8fd821fea1b6b4aa342 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 25 Jan 2005 20:21:36 +0000 Subject: [PATCH] Remove "fasttool" option; obsoleted by "slapadd -q" --- doc/man/man5/slapd-bdb.5 | 6 ------ servers/slapd/back-bdb/config.c | 9 --------- 2 files changed, 15 deletions(-) diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index 50716b7c7e..d43be03ea5 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -73,12 +73,6 @@ results if the data comes from a transaction that is later aborted. In this case, the modified data is discarded and a subsequent search will return a different result. .TP -.B fasttool -Disables transaction logging when using the slapadd/slapindex tools, -using the DB_TXN_NOT_DURABLE flag. Does not affect normal slapd operation, -but will improve the performance of slapadd/slapindex. -See the Berkeley DB reference guide for more details. -.TP .B idlcachesize Specify the size of the in-memory index cache, in index slots. The default is zero. A larger value will speed up frequent searches of diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index ec70bf0095..76d1c63adc 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -63,15 +63,6 @@ bdb_db_config( } else if ( strcasecmp( argv[0], "dbnosync" ) == 0 ) { bdb->bi_dbenv_xflags |= DB_TXN_NOSYNC; - /* slapadd/slapindex logging configuration */ - } else if ( strcasecmp( argv[0], "fasttool" ) == 0 ) { - if ( slapMode & SLAP_TOOL_MODE ) -#if DB_VERSION_FULL >= 0x04030015 - bdb->bi_dbenv_xflags |= DB_LOG_INMEMORY; -#else - bdb->bi_dbenv_xflags |= DB_TXN_NOT_DURABLE; -#endif - /* slapindex algorithm tuning */ } else if ( strcasecmp( argv[0], "linearindex" ) == 0 ) { bdb->bi_linear_index = 1; -- 2.39.5