txn = boi->boi_txn;
}
- if ( txn != NULL )
+ if ( txn != NULL ) {
locker = TXN_ID ( txn );
- else
+ } else {
+ /* XXYYZ: need to check return value */
LOCK_ID ( bdb->bi_dbenv, &locker );
+ }
if (target != NULL && dn_match(&target->e_nname, entry_ndn)) {
/* we already have a LOCKED copy of the entry */
Debug( LDAP_DEBUG_ARGS, "==> bdb_bind: dn: %s\n", dn->bv_val, 0, 0);
#endif
+ /* XXYYZ: need to check return value */
LOCK_ID(bdb->bi_dbenv, &locker);
dn2entry_retry:
u_int32_t locker;
DB_LOCK lock;
+ /* XXYYZ: need to check return value */
LOCK_ID ( bdb->bi_dbenv, &locker );
dn2entry_retry:
txn = boi->boi_txn;
}
- if ( txn )
+ if ( txn ) {
locker = TXN_ID( txn );
- else
+ } else {
+ /* XXYYZ: need to check return value */
LOCK_ID ( bdb->bi_dbenv, &locker );
+ }
if (dn_match(&target->e_name, gr_ndn)) {
/* we already have a LOCKED copy of the entry */
return rc;
}
+ /* XXYYZ: need to check return value */
LOCK_ID ( bdb->bi_dbenv, &locker );
dn2entry_retry:
manageDSAit = get_manageDSAit( op );
+ /* XXYYZ: need to check return value */
LOCK_ID (bdb->bi_dbenv, &locker );
if ( nbase->bv_len == 0 ) {