From: Howard Chu Date: Fri, 13 Feb 2004 00:42:21 +0000 (+0000) Subject: ITS#2960 - make sure bi_open gets invoked X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~430 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b36e3a1ab0bbc08931198308813d29489a667edb;p=openldap ITS#2960 - make sure bi_open gets invoked --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 88360befb2..add41d81a1 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1658,6 +1658,9 @@ proxy_cache_config( } if ( cm->db.bd_info->bi_db_init( &cm->db ) ) return( 1 ); + /* This type is in use, needs to be opened */ + cm->db.bd_info->bi_nDB++; + cm->max_entries = atoi( argv[2] ); cm->numattrsets = atoi( argv[3] );