ITS#7919 fix cache DB config

Don't accept config directives for cache DB until the cache backend type
has been set.
This commit is contained in:
Howard Chu 2014-08-13 19:22:17 -07:00
parent d8e280e87c
commit 10b6c9f0f2

View File

@ -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;