ITS#3731 catch another BDB error leaking out to the frontend

This commit is contained in:
Howard Chu 2005-05-18 04:41:24 +00:00
parent d0fdf1ea46
commit 3801ba6435

View file

@ -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;
}