From 1c2759e6896a5bc2d985b469f700bb51c3fcbc3f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 10 Jul 2004 11:37:48 +0000 Subject: [PATCH] cache backend was not started up --- servers/slapd/overlays/pcache.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ); -- 2.39.5