]> git.sur5r.net Git - openldap/commitdiff
ITS#4360 must init c_minfree
authorHoward Chu <hyc@openldap.org>
Sun, 22 Jan 2006 05:11:23 +0000 (05:11 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 22 Jan 2006 05:11:23 +0000 (05:11 +0000)
servers/slapd/back-bdb/init.c

index 13415f1e1f7f4cd7b3fc6a5813216e6c6b9fdc82..8f35fec6e60b83b5569562ac1df7f9c8ae20214f 100644 (file)
@@ -59,6 +59,7 @@ bdb_db_init( BackendDB *be )
        bdb->bi_dbenv_mode = SLAPD_DEFAULT_DB_MODE;
 
        bdb->bi_cache.c_maxsize = DEFAULT_CACHE_SIZE;
+       bdb->bi_cache.c_minfree = 1;
 
        bdb->bi_lock_detect = DB_LOCK_DEFAULT;
        bdb->bi_search_stack_depth = DEFAULT_SEARCH_STACK_DEPTH;