mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
recover previous behavior
This commit is contained in:
parent
777fc9660e
commit
cbf6d382d1
1 changed files with 2 additions and 2 deletions
4
dbdimp.c
4
dbdimp.c
|
@ -1095,7 +1095,7 @@ sqlite_st_fetch(SV *sth, imp_sth_t *imp_sth)
|
|||
}
|
||||
switch(col_type) {
|
||||
case SQLITE_INTEGER:
|
||||
#if 0
|
||||
#if 1
|
||||
sqlite_trace(sth, imp_sth, 5, form("fetch column %d as integer", i));
|
||||
#if defined(USE_64_BIT_INT)
|
||||
sv_setiv(AvARRAY(av)[i], sqlite3_column_int64(imp_sth->stmt, i));
|
||||
|
@ -1105,7 +1105,7 @@ sqlite_st_fetch(SV *sth, imp_sth_t *imp_sth)
|
|||
break;
|
||||
#endif
|
||||
case SQLITE_FLOAT:
|
||||
#if 0
|
||||
#if 1
|
||||
/* fetching as float may lose precision info in the perl world */
|
||||
sqlite_trace(sth, imp_sth, 5, form("fetch column %d as float", i));
|
||||
sv_setnv(AvARRAY(av)[i], sqlite3_column_double(imp_sth->stmt, i));
|
||||
|
|
Loading…
Add table
Reference in a new issue