Bug: Transaction is Committed instead of Rollback'ed

Derek Atkins warlord@MIT.EDU
14 Mar 2001 17:40:21 -0500


Dave Peticolas <dave@krondo.com> writes:

> I guess I'm not sure what you mean. I thought you intended the
> xaccTransDoRollback function to do the changes to the local
> transaction that xaccTransRollback does now (this is the bulk
> of the function, not just the force_it code). Then xaccTransRollback
> would see if there is a backend implementation and, if so, call
> that, otherwise it would just call xaccTransDoRollback directly.

Correct.  However the backend would always want to disable itself
when it calls the DoRollback function, so that way you wont re-enter
the Backend during the 'CommitEdit' in certain cases.

> dave

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available