r18307 - gnucash/trunk/src/backend/sql - If an object is being loaded that has a reference to a transaction, and the transaction
Phil Longstaff
plongstaff at code.gnucash.org
Thu Sep 10 22:08:10 EDT 2009
Author: plongstaff
Date: 2009-09-10 22:08:09 -0400 (Thu, 10 Sep 2009)
New Revision: 18307
Trac: http://svn.gnucash.org/trac/changeset/18307
Modified:
gnucash/trunk/src/backend/sql/gnc-account-sql.c
gnucash/trunk/src/backend/sql/gnc-budget-sql.c
gnucash/trunk/src/backend/sql/gnc-commodity-sql.c
gnucash/trunk/src/backend/sql/gnc-lots-sql.c
gnucash/trunk/src/backend/sql/gnc-transaction-sql.c
Log:
If an object is being loaded that has a reference to a transaction, and the transaction
hasn't been loaded yet, load it.
If an object has a reference to an account, commodity, budget or lot that hasn't been loaded
yet, print a warning message in the trace file. The difference in handling is that these
object types are always loaded at init time, whereas transactions are not.
More information about the gnucash-patches
mailing list