From: Howard Chu Date: Wed, 1 Oct 2008 21:07:26 +0000 (+0000) Subject: Missed a deadlock check X-Git-Tag: ACLCHECK_0~1299 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=babf624b23fc66680a234144f6cb6f78976a65bd;p=openldap Missed a deadlock check --- diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index 29c3a64987..6e9ec9d540 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -582,6 +582,9 @@ list_candidates( save+BDB_IDL_UM_SIZE ); if ( rc != 0 ) { + if ( rc == DB_LOCK_DEADLOCK ) + return rc; + if ( ftype == LDAP_FILTER_AND ) { rc = 0; continue;