r20119 - gnucash/trunk/src/backend/dbi - Provide for safely overwriting a sql database by moving the existing
John Ralls
jralls at code.gnucash.org
Mon Jan 17 19:36:08 EST 2011
Author: jralls
Date: 2011-01-17 19:36:08 -0500 (Mon, 17 Jan 2011)
New Revision: 20119
Trac: http://svn.gnucash.org/trac/changeset/20119
Modified:
gnucash/trunk/src/backend/dbi/gnc-backend-dbi-priv.h
gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
gnucash/trunk/src/backend/dbi/test/test-dbi-basic.c
gnucash/trunk/src/backend/dbi/test/test-dbi-stuff.c
gnucash/trunk/src/backend/dbi/test/test-dbi-stuff.h
Log:
Provide for safely overwriting a sql database by moving the existing
tables out of the way, writing new tables, and then dropping the old
tables once everything has been saved.
More information about the gnucash-patches
mailing list