r17183 - gnucash/branches/gda-dev2/src/backend/gda - Work around libgda bug where after all tables in the db are deleted and

Phil Longstaff plongstaff at cvs.gnucash.org
Sat May 31 19:53:52 EDT 2008


Author: plongstaff
Date: 2008-05-31 19:53:51 -0400 (Sat, 31 May 2008)
New Revision: 17183
Trac: http://svn.gnucash.org/trac/changeset/17183

Modified:
   gnucash/branches/gda-dev2/src/backend/gda/gnc-backend-gda.c
   gnucash/branches/gda-dev2/src/backend/gda/gnc-backend-util-gda.c
Log:
Work around libgda bug where after all tables in the db are deleted and
the meta-data is updated, libgda still thinks there is 1 table.  The gda
backend already has an is_pristine_db flag which is used when saving to a
new database to prevent checking if a record already exists before deciding
on an INSERT or UPDATE.  This check is now taken into account when
deciding whether to create a table or if it already exists.





More information about the gnucash-patches mailing list