Don't zero out attr value flags

This commit is contained in:
Howard Chu 2007-01-10 20:48:37 +00:00
parent 29bda3922a
commit 5bcd9243f2

View file

@ -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;