From f96e6378d6cd06c744a47af5e5e551cbb494826a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 5 Feb 2006 01:05:38 +0000 Subject: [PATCH] filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap in test045 --- servers/slapd/syncrepl.c | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.39.5