From 03fab4bf4c48f37de5408927630bbb5912c35485 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Fri, 8 Jun 2001 01:15:29 +0000 Subject: [PATCH] add notes git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4528 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/sql/design.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/engine/sql/design.txt b/src/engine/sql/design.txt index 88240eb1e6..9abec9d55e 100644 --- a/src/engine/sql/design.txt +++ b/src/engine/sql/design.txt @@ -146,6 +146,16 @@ an hour newer/older than the others, leading to bad updates). Prices need to have version numbers added. +/* The pgendAccountCompareVersion() routine compares the version + * number of the account in the engine and the sql database. It + * returns a negative number if the sql version is older (or the + * acount is not present in the sql db). It returns a positive + * number if the sql version is newer. It returns zero if the + * two are equal. + */ + + + Balances -------- The GUI displays a running balance in the register display. When the @@ -214,6 +224,3 @@ SELECT gnctransaction.date_posted LIMIT 2 OFFSET 10; ---------------------------- -nothing but junk below/test demo - -SELECT sum(balance) FROM gncCheckpoint WHERE accountGuid='xx' AND date_start < 'xx'