From 10b6c9f0f27186e8621d4016273c1b9531dccc8a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 13 Aug 2014 19:22:17 -0700 Subject: [PATCH] ITS#7919 fix cache DB config Don't accept config directives for cache DB until the cache backend type has been set. --- servers/slapd/overlays/pcache.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5