gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Dec 23 16:18:52 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/c549e203 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bda17ff4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/579eed1f (commit)



commit c549e203cba837584059984b3e199f3929590156
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 23 12:59:11 2024 -0800

    Bug 799449 - Save As... sequence from SQL to XML format does not...
    
    clear lock on the origin SQL book.
    
    GncDbiSqlConnection::unlock_database function errored out if the last
    dbi interaction resulted in an error, even if it was a harmless index
    out of range. Ignore index out of range errors.

commit bda17ff4d8d66711926ef4870866799880120b06
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Dec 17 16:23:13 2024 -0800

    Bug 799487 - Unable to save gnucash DB file as XML file
    
    Not quite true, it just takes a really long time for a large database.
    
    The underlying problem is gnc_file_do_save_as reloads the data to make
    sure that the save-as saves everything. On the SQL backend that
    triggers a scrub. The scrub itseld doesn't take long, but every
    transaction commit was logged in the transaction log and did a refresh
    of the registers. So:
    * Suspend logging while doing the scrub.
    * Suspend UI refreshes and QOF events while reloading the data.



Summary of changes:
 gnucash/gnome-utils/gnc-file.c                  | 6 +++++-
 libgnucash/backend/dbi/gnc-dbisqlconnection.cpp | 3 ++-
 libgnucash/backend/sql/gnc-sql-backend.cpp      | 3 +++
 3 files changed, 10 insertions(+), 2 deletions(-)



More information about the gnucash-patches mailing list