]> git.sur5r.net Git - openldap/commitdiff
cache backend was not started up
authorPierangelo Masarati <ando@openldap.org>
Sat, 10 Jul 2004 11:37:48 +0000 (11:37 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 10 Jul 2004 11:37:48 +0000 (11:37 +0000)
servers/slapd/overlays/pcache.c

index 4567c933692110669c19b1ba091555c8077257b3..da40810e0056b20eb0327d9f4405a63a59c10041 100644 (file)
@@ -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 );