- /* change the entry itself */
- rc = bdb_id2entry_update( be, ltid, e );
- if( rc != 0 ) {
- switch(rc) {
- case DB_LOCK_DEADLOCK:
- case DB_LOCK_NOTGRANTED:
- bdb_entry_return( be, e );
- e = NULL;
- goto retry;
+ if( rc == 0 ) {
+ if( op->o_noop ) {
+ rc = TXN_ABORT( ltid );
+ } else {
+ rc = TXN_COMMIT( ltid, 0 );
+ }
+ ltid = NULL;