[Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm ldbm_delete.c, 1.4, 1.4.2.1

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Fri Aug 26 15:52:06 UTC 2005


Author: nkinder

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15129

Modified Files:
      Tag: Directory71RtmBranch
	ldbm_delete.c 
Log Message:
165862 - Deleting an entry needs to set BE_INDEX_EQUALITY to remove the entrydn index


Index: ldbm_delete.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/ldbm_delete.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- ldbm_delete.c	19 Apr 2005 22:07:38 -0000	1.4
+++ ldbm_delete.c	26 Aug 2005 15:52:04 -0000	1.4.2.1
@@ -401,7 +401,7 @@
 			}
 		}
 		/* delete from attribute indexes */
-		addordel_flags = BE_INDEX_DEL|BE_INDEX_PRESENCE;
+		addordel_flags = BE_INDEX_DEL|BE_INDEX_PRESENCE|BE_INDEX_EQUALITY;
 		if (delete_tombstone_entry)
 		{
 			addordel_flags |= BE_INDEX_TOMBSTONE; /* tell index code we are deleting a tombstone */




More information about the Fedora-directory-commits mailing list