mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 08:53:27 -05: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue