mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 23:33:18 -05:00
ITS#3301 check for dn2entry failure
This commit is contained in:
parent
2316461b93
commit
5cba217006
1 changed files with 9 additions and 0 deletions
|
|
@ -58,6 +58,15 @@ bdb_csn_commit(
|
|||
|
||||
rc = bdb_dn2entry( op, tid, &op->o_bd->be_context_csn, &ctxcsn_ei,
|
||||
1, locker, &ctxcsn_lock );
|
||||
switch( rc ) {
|
||||
case 0:
|
||||
break;
|
||||
case DB_LOCK_DEADLOCK:
|
||||
case DB_LOCK_NOTGRANTED:
|
||||
return BDB_CSN_RETRY;
|
||||
default:
|
||||
return BDB_CSN_ABORT;
|
||||
}
|
||||
|
||||
*ctxcsn_e = ctxcsn_ei->bei_e;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue