]> git.sur5r.net Git - openldap/commitdiff
Mirroring changes related to indexing to db2 backend...
authorJuan Gomez <gomez@openldap.org>
Wed, 26 May 1999 11:51:49 +0000 (11:51 +0000)
committerJuan Gomez <gomez@openldap.org>
Wed, 26 May 1999 11:51:49 +0000 (11:51 +0000)
someone better comes up with a solution for this replication soon!

servers/slapd/back-bdb2/index.c

index b4a58b11804f35937be4376ccffa7ebcb67dde8f..fceb045a559f0575ee76e14226a57edf8fd8e60a 100644 (file)
@@ -70,7 +70,7 @@ bdb2i_index_add_mods(
                        rc = bdb2i_index_add_values( be, mod->mod_type,
                            mod->mod_bvalues, id );
                        break;
-
+               case LDAP_MOD_SOFTADD:
                case LDAP_MOD_DELETE:
                        rc = 0;
                        break;
@@ -224,7 +224,7 @@ bdb2i_index_add_values(
 
        Debug( LDAP_DEBUG_TRACE, "=> bdb2i_index_add_values( \"%s\", %ld )\n", type,
            id, 0 );
-
+       attr_normalize( type );
        bdb2i_attr_masks( be->be_private, type, &indexmask, &syntax );
        if ( indexmask == 0 ) {
                return( 0 );