Use "float8" instead of "real" for double field in slots table so that we get an 8 byte float

rather than only 4 byte.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18290 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-09-04 01:34:28 +00:00
parent 866c80af75
commit 26fc11909f

View File

@ -1453,7 +1453,7 @@ conn_create_table_ddl_sqlite3( GncSqlConnection* conn,
} 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";