r19647 - gnucash/trunk/src/backend - Fix #630286 - Please add handling code for GDate kvp values in SQL, too
Phil Longstaff
plongstaff at code.gnucash.org
Sun Oct 10 18:21:44 EDT 2010
Author: plongstaff
Date: 2010-10-10 18:21:43 -0400 (Sun, 10 Oct 2010)
New Revision: 19647
Trac: http://svn.gnucash.org/trac/changeset/19647
Modified:
gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
gnucash/trunk/src/backend/sql/gnc-backend-sql.c
gnucash/trunk/src/backend/sql/gnc-backend-sql.h
gnucash/trunk/src/backend/sql/gnc-slots-sql.c
Log:
Fix #630286 - Please add handling code for GDate kvp values in SQL, too
If slots table does not include gdate field, it will be added and all current slots will have a NULL value.
Tested on sqlite3 and mysql. Tested using the example gnucash file referenced from the bug report. When saved from XML -> sqlite3 -> XML, some timestamps changed their timezone because of a change of timezone (I'm in North America). I guess this is OK.
More information about the gnucash-patches
mailing list