Integer computed fields are always 64 bits.

[GB.DB.SQLITE3]
* BUG: Computed fields are always 64 bits.
This commit is contained in:
gambas 2018-03-30 16:57:00 +02:00
parent 789227d546
commit 62bc061dc3

View file

@ -348,7 +348,7 @@ static int my_sqlite3_exec(
{
switch(type)
{
case SQLITE_INTEGER: result->types[i] = GB_T_INTEGER; break;
case SQLITE_INTEGER: result->types[i] = GB_T_LONG; break;
case SQLITE_FLOAT: result->types[i] = GB_T_FLOAT; break;
case SQLITE_BLOB: result->types[i] = (int)DB_T_BLOB; break;
default: result->types[i] = GB_T_STRING;