]> git.sur5r.net Git - openldap/commitdiff
misc : not activating idl cache in tool mode run
authorJong Hyuk Choi <jongchoi@openldap.org>
Wed, 5 Mar 2003 03:34:59 +0000 (03:34 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Wed, 5 Mar 2003 03:34:59 +0000 (03:34 +0000)
servers/slapd/back-bdb/config.c

index 5011470d54712342c2c4537427453e3ba61471c5..8fd2e23272e65de63e19fc5357a42a689b5a94f6 100644 (file)
@@ -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 */