Don't re-cache IDL's retrieved from the cache

This commit is contained in:
Howard Chu 2003-05-23 01:23:53 +00:00
parent f3e0a28f18
commit 505838469d

View File

@ -898,7 +898,7 @@ hdb_dn2idl_internal(
return cx->rc;
}
if ( cx->rc == LDAP_SUCCESS ) {
goto saveit;
goto gotit;
}
}
#endif
@ -949,6 +949,8 @@ saveit:
bdb_idl_cache_put( cx->bdb, cx->db, &cx->key, cx->tmp, cx->rc );
}
#endif
;
gotit:
if ( cx->rc == 0 ) {
if ( cx->prefix == DN_SUBTREE_PREFIX ) {
ID *save, idcurs;