gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Fri Mar 28 20:45:24 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/9293f480 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bbd26525 (commit)
	from  https://github.com/Gnucash/gnucash/commit/b73c7740 (commit)



commit 9293f480634f07e831ae3e1eaa21caf2aaf270ed
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 28 11:32:36 2014 -0700

    Bug 724995 - Gnucash crashes due to assertion failed when opening sqlite file
    
    Rather than asserting (and therefore crashing) on a bad split or transaction,
    write an error description and raise an ERR_BACKEND_DATA_CORRUPT error.
    
    Fix bad GUIDs in splits at write.

commit bbd26525fc8ca23bfa997c9ac1a20c774e347d27
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 28 11:30:14 2014 -0700

    Set Gnucash version and GNUCASH_RESAVE_VERSION in init_version_info
    
    And reset_version_info. This is a better solution than setting it in load
    after calling init_version_info because in load it would over-write the
    values stored in the database.



Summary of changes:
 src/backend/dbi/gnc-backend-dbi.c     |  4 ---
 src/backend/sql/gnc-backend-sql.c     |  8 ++++--
 src/backend/sql/gnc-transaction-sql.c | 50 ++++++++++++++++++++++++++++-------
 3 files changed, 47 insertions(+), 15 deletions(-)



More information about the gnucash-patches mailing list