r16924 - gnucash/branches/gda-dev2/src/backend/gda - When opening a register, there are now 5 queries: 1) get tx guids for

Phil Longstaff plongstaff at cvs.gnucash.org
Sun Feb 3 16:16:07 EST 2008


Author: plongstaff
Date: 2008-02-03 16:16:06 -0500 (Sun, 03 Feb 2008)
New Revision: 16924
Trac: http://svn.gnucash.org/trac/changeset/16924

Modified:
   gnucash/branches/gda-dev2/src/backend/gda/gnc-transaction-gda.c
Log:
When opening a register, there are now 5 queries: 1) get tx guids for
all splits in the register 2) get all tx'es for those guids 3) get all
slots for those tx'es 4) get all splits for those tx'es 5) get all
slots for those splits.  This makes register manipulation much faster.
However, more work may need to be done to ensure that we don't make the
sql line too long by splitting one or more of the queries.





More information about the gnucash-patches mailing list