mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
ITS#3731 catch another BDB error leaking out to the frontend
This commit is contained in:
parent
d0fdf1ea46
commit
3801ba6435
1 changed files with 10 additions and 0 deletions
|
|
@ -254,6 +254,16 @@ static int indexer(
|
|||
}
|
||||
|
||||
done:
|
||||
switch( rc ) {
|
||||
/* The callers all know how to deal with these results */
|
||||
case 0:
|
||||
case DB_LOCK_DEADLOCK:
|
||||
case DB_LOCK_NOTGRANTED:
|
||||
break;
|
||||
/* Anything else is bad news */
|
||||
default:
|
||||
rc = LDAP_OTHER;
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue