mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
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:
parent
d8e280e87c
commit
10b6c9f0f2
@ -4494,6 +4494,7 @@ pcache_db_init(
|
|||||||
qm = (query_manager*)ch_malloc(sizeof(query_manager));
|
qm = (query_manager*)ch_malloc(sizeof(query_manager));
|
||||||
|
|
||||||
cm->db = *be;
|
cm->db = *be;
|
||||||
|
cm->db.bd_info = NULL;
|
||||||
SLAP_DBFLAGS(&cm->db) |= SLAP_DBFLAG_NO_SCHEMA_CHECK;
|
SLAP_DBFLAGS(&cm->db) |= SLAP_DBFLAG_NO_SCHEMA_CHECK;
|
||||||
cm->db.be_private = NULL;
|
cm->db.be_private = NULL;
|
||||||
cm->db.bd_self = &cm->db;
|
cm->db.bd_self = &cm->db;
|
||||||
|
Loading…
Reference in New Issue
Block a user