ldap/servers/slapd/add.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6d38125d0e848e43788d2b7e4f5b85613b60448c
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Fri Jul 11 10:29:12 2014 -0700
Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target
entry's DN must be adjusted.
Description: commit 708a56b8d524131362e2d71b7fbc2eb257075e14 breaks
the CI testcase 47808. Undo the change made in op_shared_add (add.c).
https://fedorahosted.org/389/ticket/47834#comment:9
diff --git a/ldap/servers/slapd/add.c b/ldap/servers/slapd/add.c
index 170e28b..875ad22 100644
--- a/ldap/servers/slapd/add.c
+++ b/ldap/servers/slapd/add.c
@@ -732,9 +732,9 @@ static void op_shared_add (Slapi_PBlock *pb)
if (be->be_add != NULL)
{
+ rc = (*be->be_add)(pb);
/* backend may change this if errors and not consumed */
slapi_pblock_get(pb, SLAPI_ADD_ENTRY, &save_e);
- rc = (*be->be_add)(pb);
slapi_pblock_set(pb, SLAPI_ADD_ENTRY, ec);
if (rc == 0)
{