r17320 - gnucash/branches/gda-dev2 - 1) In business code, load all slots for all items of each item type with 1 query.
Phil Longstaff
plongstaff at cvs.gnucash.org
Sat Jul 12 23:14:25 EDT 2008
Author: plongstaff
Date: 2008-07-12 23:14:24 -0400 (Sat, 12 Jul 2008)
New Revision: 17320
Trac: http://svn.gnucash.org/trac/changeset/17320
Modified:
gnucash/branches/gda-dev2/GDA_STATUS
gnucash/branches/gda-dev2/src/backend/dbi/gnc-backend-dbi.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-backend-sql.h
gnucash/branches/gda-dev2/src/backend/sql/gnc-book-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-recurrence-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-schedxaction-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-slots-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-transaction-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-bill-term-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-customer-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-employee-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-entry-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-invoice-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-job-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-order-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-tax-table-sql.c
gnucash/branches/gda-dev2/src/business/business-core/sql/gnc-vendor-sql.c
Log:
1) In business code, load all slots for all items of each item type with 1 query.
2) Factor out simple of case of commit code and call from individual item cases where applicable.
3) When deleting an item that has a reference to a commodity, don't save the commodity to the db.
4) Start to add mysql and postgresql support in dbi backend. The biggest differences are a) url
format (and information), and b) differences in data definition statements.
More information about the gnucash-patches
mailing list