]> git.sur5r.net Git - openldap/commitdiff
Allow updating (ADD/DEL within a single modify operation) the index
authorRalf Haferkamp <ralf@openldap.org>
Mon, 26 May 2008 17:38:32 +0000 (17:38 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Mon, 26 May 2008 17:38:32 +0000 (17:38 +0000)
configuration of an attribute (ITS#5521)

servers/slapd/back-bdb/attr.c

index 8c8f691ee6232e3684af22ccac47f2eef8dc5958..42151afdd5274a913df352c739a08c37324de347 100644 (file)
@@ -292,6 +292,7 @@ bdb_attr_index_config(
                                        b->ai_indexmask = b->ai_newmask;
                                b->ai_newmask = a->ai_newmask;
                                ch_free( a );
+                               rc = 0;
                                continue;
                        }
                        fprintf( stderr,