struct dn2id_cookie *cx
)
{
- if ( cx->bdb->bi_idl_cache_size ) {
- cx->rc = bdb_idl_cache_get(cx->bdb, cx->db, &cx->key, cx->tmp);
- if ( cx->rc == DB_NOTFOUND ) {
- return cx->rc;
- }
- if ( cx->rc == LDAP_SUCCESS ) {
- goto gotit;
- }
- }
BDB_IDL_ZERO( cx->tmp );
if ( !cx->ei ) {
}
}
+ if ( cx->bdb->bi_idl_cache_size ) {
+ cx->rc = bdb_idl_cache_get(cx->bdb, cx->db, &cx->key, cx->tmp);
+ if ( cx->rc == DB_NOTFOUND ) {
+ return cx->rc;
+ }
+ if ( cx->rc == LDAP_SUCCESS ) {
+ goto gotit;
+ }
+ }
+
bdb_cache_entryinfo_lock( cx->ei );
/* If number of kids in the cache differs from on-disk, load