mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 23:33:18 -05:00
ITS#5189 recognize ENOMEM
This commit is contained in:
parent
7404384766
commit
9965fc5f60
1 changed files with 5 additions and 1 deletions
|
|
@ -288,7 +288,11 @@ done:
|
|||
case DB_LOCK_DEADLOCK:
|
||||
case DB_LOCK_NOTGRANTED:
|
||||
break;
|
||||
/* Anything else is bad news */
|
||||
/* BDB also returns standard errno values */
|
||||
case ENOMEM:
|
||||
rc = LDAP_NO_MEMORY;
|
||||
break;
|
||||
/* Don't let any other BDB-specific errors thru */
|
||||
default:
|
||||
rc = LDAP_OTHER;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue