]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#4263
authorHoward Chu <hyc@openldap.org>
Thu, 15 Dec 2005 22:52:31 +0000 (22:52 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 15 Dec 2005 22:52:31 +0000 (22:52 +0000)
servers/slapd/back-bdb/dn2id.c

index 185c73491bc9b781da8874dceb3a21b03b9f70a9..05e482e1e389f8bbce188da75abdbb89b9ddb41d 100644 (file)
@@ -178,7 +178,7 @@ bdb_dn2id_delete(
 #endif
        {
                buf[0] = DN_SUBTREE_PREFIX;
-               rc = db->del( db, txn, &key, 0 );
+               rc = bdb_idl_delete_key( op->o_bd, db, txn, &key, e->e_id );
                if( rc != 0 ) {
                        Debug( LDAP_DEBUG_ANY,
                        "=> bdb_dn2id_delete: subtree (%s) delete failed: %d\n",