From 5bcd9243f266677d86ae4c44d7cb07768fdbedd6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 10 Jan 2007 20:48:37 +0000 Subject: [PATCH] Don't zero out attr value flags --- servers/slapd/back-bdb/modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5