From babf624b23fc66680a234144f6cb6f78976a65bd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 1 Oct 2008 21:07:26 +0000 Subject: [PATCH] Missed a deadlock check --- servers/slapd/back-bdb/filterindex.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5