]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Teach index functions how to deal with SOFTADDS.
authorJuan Gomez <gomez@openldap.org>
Tue, 25 May 1999 22:54:59 +0000 (22:54 +0000)
committerJuan Gomez <gomez@openldap.org>
Tue, 25 May 1999 22:54:59 +0000 (22:54 +0000)
servers/slapd/back-ldbm/index.c

index aec6a9bbe7fa9781691d813889e1544b0cdd71da..77c748ed04e0bb5abeccd2f411d8026d55142934 100644 (file)
@@ -69,7 +69,7 @@ index_add_mods(
                        rc = index_add_values( be, mods->mod_type,
                            mods->mod_bvalues, id );
                        break;
-
+               case LDAP_MOD_SOFTADD:  /* SOFTADD means index was there already */
                case LDAP_MOD_DELETE:
                        rc = 0;
                        break;