From: Howard Chu Date: Sun, 5 Feb 2006 01:05:38 +0000 (+0000) Subject: filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~231 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f96e6378d6cd06c744a47af5e5e551cbb494826a;p=openldap filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap in test045 --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 79643c6ee9..8e03534750 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2051,8 +2051,12 @@ syncrepl_del_nonpresent( for (i=0; uuids[i].bv_val; i++) { op->ors_slimit = 1; + slap_uuidstr_from_normalized( &uf.f_av_value, &uuids[i], + op->o_tmpmemctx ); + filter2bv_x( op, op->ors_filter, &op->ors_filterstr ); uf.f_av_value = uuids[i]; rc = be->be_search( op, &rs_search ); + op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx ); } si->si_refreshDelete ^= NP_DELETE_ONE; } else {