From: Howard Chu Date: Thu, 14 Aug 2014 02:22:17 +0000 (-0700) Subject: ITS#7919 fix cache DB config X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10b6c9f0f27186e8621d4016273c1b9531dccc8a;p=openldap ITS#7919 fix cache DB config Don't accept config directives for cache DB until the cache backend type has been set. --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 84c9d237a9..7956a67442 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -4494,6 +4494,7 @@ pcache_db_init( qm = (query_manager*)ch_malloc(sizeof(query_manager)); cm->db = *be; + cm->db.bd_info = NULL; SLAP_DBFLAGS(&cm->db) |= SLAP_DBFLAG_NO_SCHEMA_CHECK; cm->db.be_private = NULL; cm->db.bd_self = &cm->db;