mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix HDB - don't use IDL cache when it's not configured
This commit is contained in:
parent
e48f72c1b5
commit
57fa57b1d1
@ -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 New Issue
Block a user