From: Howard Chu Date: Fri, 25 Jun 2004 20:04:16 +0000 (+0000) Subject: Fix previous commit, deleting under suffix... X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~174 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fd7534f79f93ded842c3b402f737c86333f9bcc;p=openldap Fix previous commit, deleting under suffix... --- diff --git a/servers/slapd/back-bdb/delete.c b/servers/slapd/back-bdb/delete.c index eca6774136..36ef298003 100644 --- a/servers/slapd/back-bdb/delete.c +++ b/servers/slapd/back-bdb/delete.c @@ -206,12 +206,14 @@ retry: /* transaction retry */ } rc = bdb_cache_find_id( op, ltid, eip->bei_id, &eip, 0, locker, &plock ); - if ( rc ) { - switch( rc ) { - case DB_LOCK_DEADLOCK: - case DB_LOCK_NOTGRANTED: - goto retry; - } + switch( rc ) { + case DB_LOCK_DEADLOCK: + case DB_LOCK_NOTGRANTED: + goto retry; + case 0: + case DB_NOTFOUND: + break; + default: rs->sr_err = LDAP_OTHER; rs->sr_text = "internal error"; goto return_results;