mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
ITS#2122 - actually use the passed in txn handle!!
This commit is contained in:
parent
3505c326da
commit
bda79780ce
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ bdb_attribute(
|
|||
} else {
|
||||
dn2entry_retry:
|
||||
/* can we find entry */
|
||||
rc = bdb_dn2entry_r( be, NULL, entry_ndn, &e, NULL, 0, locker, &lock );
|
||||
rc = bdb_dn2entry_r( be, txn, entry_ndn, &e, NULL, 0, locker, &lock );
|
||||
switch( rc ) {
|
||||
case DB_NOTFOUND:
|
||||
case 0:
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ bdb_group(
|
|||
} else {
|
||||
dn2entry_retry:
|
||||
/* can we find group entry */
|
||||
rc = bdb_dn2entry_r( be, NULL, gr_ndn, &e, NULL, 0, locker, &lock );
|
||||
rc = bdb_dn2entry_r( be, txn, gr_ndn, &e, NULL, 0, locker, &lock );
|
||||
if( rc ) {
|
||||
if ( rc == DB_LOCK_DEADLOCK || rc == DB_LOCK_NOTGRANTED )
|
||||
goto dn2entry_retry;
|
||||
|
|
|
|||
Loading…
Reference in a new issue