qof_commit_edit_part_2 commit, then delete

Phil Longstaff phil.longstaff at yahoo.ca
Thu Nov 28 08:17:50 EST 2013


In the sql backend, I think the commit may be what triggers a DELETE statement.

Phil


________________________________
 From: John Ralls <jralls at ceridwen.us>
To: GnuCash development list <gnucash-devel at gnucash.org> 
Sent: Wednesday, November 27, 2013 7:45:03 PM
Subject: qof_commit_edit_part_2 commit, then delete
 

As it now stands, we run the commit code, then check priv->do_free and run the destroy callback if it’s true.

Wouldn’t it make more sense to *not* run the commit code if we’re destroying the instance?

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list