r17307 - gnucash/branches/gda-dev2 - 1) Move code from qof into the file backend which was marking the books
Phil Longstaff
plongstaff at cvs.gnucash.org
Fri Jul 11 21:12:51 EDT 2008
Author: plongstaff
Date: 2008-07-11 21:12:50 -0400 (Fri, 11 Jul 2008)
New Revision: 17307
Trac: http://svn.gnucash.org/trac/changeset/17307
Modified:
gnucash/branches/gda-dev2/lib/libqof/qof/qofinstance.c
gnucash/branches/gda-dev2/src/backend/dbi/gnc-backend-dbi.c
gnucash/branches/gda-dev2/src/backend/file/gnc-backend-file.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-account-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-backend-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-budget-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-commodity-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-lots-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-price-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-schedxaction-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-transaction-sql.c
gnucash/branches/gda-dev2/src/gnome-utils/gnc-main-window.c
Log:
1) Move code from qof into the file backend which was marking the books
dirty after a commit was finished. This worked for the xml backend but not
for the sql backend.
2) Simplify some code sql backend - when loading the file, often, a list of
the objects loaded was needed. This list is now generated more simply and
regularly.
3) Change how transactions are saved. Originally, when a clean transaction
was saved, this was a signal to save the splits. Now, the splits are saved
because of their own commits. Note that the order in which a transaction is
deleted (tx first, then splits) will need to be changed if we want referential
integrity between the splits and tx tables.
4) At DEBUG level, log all sql statements executed
More information about the gnucash-patches
mailing list