From: Howard Chu Date: Wed, 5 Dec 2007 05:24:15 +0000 (+0000) Subject: Fix ITS#5257 X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~356 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eda5b4d01f889c31ee6903c5e97491dd83fe9f9e;p=openldap Fix ITS#5257 --- diff --git a/servers/slapd/back-bdb/dn2entry.c b/servers/slapd/back-bdb/dn2entry.c index 187680d57f..e897cbef26 100644 --- a/servers/slapd/back-bdb/dn2entry.c +++ b/servers/slapd/back-bdb/dn2entry.c @@ -73,7 +73,7 @@ bdb_dn2entry( /* always return EntryInfo */ if ( ei->bei_parent ) { ei = ei->bei_parent; - rc2 = bdb_cache_find_id( op, tid, ei->bei_id, &ei, ID_LOCKED, + rc2 = bdb_cache_find_id( op, tid, ei->bei_id, &ei, 0, locker, lock ); if ( rc2 ) rc = rc2; }