r16912 - gnucash/branches/gda-dev2/src/backend/gda - Improve save performance when saving to a new db. If the db is empty,
Phil Longstaff
plongstaff at cvs.gnucash.org
Sat Feb 2 18:27:05 EST 2008
Author: plongstaff
Date: 2008-02-02 18:27:04 -0500 (Sat, 02 Feb 2008)
New Revision: 16912
Trac: http://svn.gnucash.org/trac/changeset/16912
Modified:
gnucash/branches/gda-dev2/src/backend/gda/gnc-account-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-backend-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-backend-util-gda.h
gnucash/branches/gda-dev2/src/backend/gda/gnc-book-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-budget-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-commodity-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-lots-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-price-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-schedxaction-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-slots-gda.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-transaction-gda.c
Log:
Improve save performance when saving to a new db. If the db is empty,
we don't need to a) delete old slots before saving new ones, b) delete
old splits for a tx before saving new ones, c) check to see if the
object already exists to know whether to use INSERT or UPDATE.
More information about the gnucash-patches
mailing list