From 26fc11909f0e16e4d6283a62ec6102a0ca44bc81 Mon Sep 17 00:00:00 2001 From: Phil Longstaff Date: Fri, 4 Sep 2009 01:34:28 +0000 Subject: [PATCH] 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 --- src/backend/dbi/gnc-backend-dbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/dbi/gnc-backend-dbi.c b/src/backend/dbi/gnc-backend-dbi.c index 4611f955be..40e5292957 100644 --- a/src/backend/dbi/gnc-backend-dbi.c +++ b/src/backend/dbi/gnc-backend-dbi.c @@ -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";