}
Debug( LDAP_DEBUG_TRACE, "==> bdb_delete: retrying...\n",
0, 0, 0 );
- rc = txn_abort( ltid );
+ rc = TXN_ABORT( ltid );
ltid = NULL;
op->o_private = NULL;
if( rc != 0 ) {
}
/* begin transaction */
- rc = txn_begin( bdb->bi_dbenv, NULL, <id,
+ rc = TXN_BEGIN( bdb->bi_dbenv, NULL, <id,
bdb->bi_db_opflags );
text = NULL;
if( rc != 0 ) {
}
if ( !manageDSAit && is_entry_referral( e ) ) {
- /* parent is a referral, don't allow add */
- /* parent is an alias, don't allow add */
+ /* entry is a referral, don't allow delete */
BerVarray refs = get_entry_referrals( be,
conn, op, e );
#endif
if( op->o_noop ) {
- rc = txn_abort( ltid );
+ rc = TXN_ABORT( ltid );
} else {
- rc = txn_commit( ltid, 0 );
+ rc = TXN_COMMIT( ltid, 0 );
}
ltid = NULL;
op->o_private = NULL;
}
if( ltid != NULL ) {
- txn_abort( ltid );
+ TXN_ABORT( ltid );
op->o_private = NULL;
}