From: Pierangelo Masarati Date: Sat, 10 Jul 2004 11:37:48 +0000 (+0000) Subject: cache backend was not started up X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~93 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c2759e6896a5bc2d985b469f700bb51c3fcbc3f;p=openldap cache backend was not started up --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 4567c93369..da40810e00 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1873,6 +1873,16 @@ proxy_cache_open( rc = cm->db.bd_info->bi_db_open( &cm->db ); } + if ( rc != 0 ) { + return rc; + } + + rc = backend_startup( &cm->db ); + + if ( rc != 0 ) { + return rc; + } + /* There is no runqueue in TOOL mode */ if ( slapMode & SLAP_SERVER_MODE ) { ldap_pvt_thread_mutex_lock( &syncrepl_rq.rq_mutex );