mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
reverse previous commit
This commit is contained in:
parent
a0d04db2d1
commit
29dfcec866
1 changed files with 7 additions and 1 deletions
|
|
@ -388,7 +388,13 @@ retry: /* transaction retry */
|
|||
struct berval nrdn;
|
||||
Entry *e = entry_dup( op->ora_e );
|
||||
|
||||
dnRdn( &e->e_nname, &nrdn );
|
||||
/* pick the RDN if not suffix; otherwise pick the entire DN */
|
||||
if (pdn.bv_len) {
|
||||
nrdn.bv_val = e->e_nname.bv_val;
|
||||
nrdn.bv_len = pdn.bv_val - op->ora_e->e_nname.bv_val - 1;
|
||||
} else {
|
||||
nrdn = e->e_nname;
|
||||
}
|
||||
|
||||
bdb_cache_add( bdb, ei, e, &nrdn, locker );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue