r21834 - gnucash/branches/2.4/src/backend/dbi - [r21831][Bug 666329] Empty database after a little while

John Ralls jralls at code.gnucash.org
Mon Jan 9 18:49:16 EST 2012


Author: jralls
Date: 2012-01-09 18:49:15 -0500 (Mon, 09 Jan 2012)
New Revision: 21834
Trac: http://svn.gnucash.org/trac/changeset/21834

Modified:
   gnucash/branches/2.4/src/backend/dbi/gnc-backend-dbi.c
Log:
[r21831][Bug 666329] Empty database after a little while

Use gnc_dbi_safe_sync_all (which doesn't lose data if the save partion
errors out) for all be->sync.

This is a bit of a half-way solution; we really shouldn't ever have to do
this except when creating a new database, but fixing that will take major
surgery.



More information about the gnucash-patches mailing list