mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 14:53:13 -05:00
Fix HDB - don't use IDL cache when it's not configured
This commit is contained in:
parent
e48f72c1b5
commit
57fa57b1d1
1 changed files with 2 additions and 1 deletions
|
|
@ -1122,7 +1122,8 @@ hdb_dn2idl(
|
|||
cx.key.size = sizeof(ID)+1;
|
||||
*ptr = cx.prefix;
|
||||
cx.id = e->e_id;
|
||||
bdb_idl_cache_put( cx.bdb, cx.db, &cx.key, cx.ids, cx.rc );
|
||||
if ( cx.bdb->bi_idl_cache_max_size )
|
||||
bdb_idl_cache_put( cx.bdb, cx.db, &cx.key, cx.ids, cx.rc );
|
||||
}
|
||||
|
||||
if ( cx.rc == DB_NOTFOUND )
|
||||
|
|
|
|||
Loading…
Reference in a new issue