From: Howard Chu Date: Wed, 10 Jan 2007 20:48:37 +0000 (+0000) Subject: Don't zero out attr value flags X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~209 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5bcd9243f266677d86ae4c44d7cb07768fdbedd6;p=openldap Don't zero out attr value flags --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 217c52b6b7..408ad24f6a 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -211,7 +211,7 @@ int bdb_modify_internal( attrs_free( e->e_attrs ); /* clear the indexing flags */ for ( ap = save_attrs; ap != NULL; ap = ap->a_next ) { - ap->a_flags = 0; + ap->a_flags &= ~(SLAP_ATTR_IXADD|SLAP_ATTR_IXDEL); } e->e_attrs = save_attrs;