]> git.sur5r.net Git - openldap/commitdiff
Missed a deadlock check
authorHoward Chu <hyc@openldap.org>
Wed, 1 Oct 2008 21:07:26 +0000 (21:07 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 1 Oct 2008 21:07:26 +0000 (21:07 +0000)
servers/slapd/back-bdb/filterindex.c

index 29c3a64987ea13f2581958f533a998d1fd086792..6e9ec9d54032c633ac861b09f023868f1ae65439 100644 (file)
@@ -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;