r18290 - gnucash/trunk/src/backend/dbi - Use "float8" instead of "real" for double field in slots table so that we get an 8 byte float
Phil Longstaff
plongstaff at code.gnucash.org
Thu Sep 3 21:34:28 EDT 2009
Author: plongstaff
Date: 2009-09-03 21:34:28 -0400 (Thu, 03 Sep 2009)
New Revision: 18290
Trac: http://svn.gnucash.org/trac/changeset/18290
Modified:
gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
Log:
Use "float8" instead of "real" for double field in slots table so that we get an 8 byte float
rather than only 4 byte.
Modified: gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
===================================================================
--- gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c 2009-09-02 17:38:45 UTC (rev 18289)
+++ gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c 2009-09-04 01:34:28 UTC (rev 18290)
@@ -1453,7 +1453,7 @@
} else if( info->type == BCT_INT64 ) {
type_name = "bigint";
} else if( info->type == BCT_DOUBLE ) {
- type_name = "real";
+ type_name = "float8";
} else if( info->type == BCT_STRING || info->type == BCT_DATE
|| info->type == BCT_DATETIME ) {
type_name = "text";
More information about the gnucash-changes
mailing list