]> git.sur5r.net Git - openldap/commitdiff
Don't zero out attr value flags
authorHoward Chu <hyc@openldap.org>
Wed, 10 Jan 2007 20:48:37 +0000 (20:48 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 10 Jan 2007 20:48:37 +0000 (20:48 +0000)
servers/slapd/back-bdb/modify.c

index 217c52b6b7ed97166ef12c077af063d2b4122f7a..408ad24f6a4d1454d2366884790b75c6e0bddd79 100644 (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;