]> git.sur5r.net Git - openldap/commitdiff
ITS#2960 - make sure bi_open gets invoked
authorHoward Chu <hyc@openldap.org>
Fri, 13 Feb 2004 00:42:21 +0000 (00:42 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Feb 2004 00:42:21 +0000 (00:42 +0000)
servers/slapd/overlays/pcache.c

index 88360befb23c6305c3f42c88c03889caadeb0589..add41d81a172eb22550f62ff1bfc59e207c4e939 100644 (file)
@@ -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] );