From: Jong Hyuk Choi Date: Wed, 5 Mar 2003 03:34:59 +0000 (+0000) Subject: misc : not activating idl cache in tool mode run X-Git-Tag: NO_SLAP_OP_BLOCKS~175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5db7e20cf13a44b691965b35e3944e3312f3b783;p=openldap misc : not activating idl cache in tool mode run --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 5011470d54..8fd2e23272 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -154,7 +154,8 @@ bdb_db_config( fname, lineno ); return( 1 ); } - bdb->bi_idl_cache_max_size = atoi( argv[1] ); + if ( !( slapMode & SLAP_TOOL_MODE ) ) + bdb->bi_idl_cache_max_size = atoi( argv[1] ); #endif /* anything else */