mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 06:38:12 -04:00
DBD-SQLite: added SQL_NULLABLE_UNKNOWN; still wonders if the error above should be ignored or not
This commit is contained in:
parent
b0792ba325
commit
7ecd1839b9
1 changed files with 4 additions and 1 deletions
5
dbdimp.c
5
dbdimp.c
|
@ -808,8 +808,11 @@ sqlite_st_FETCH_attrib (SV *sth, imp_sth_t *imp_sth, SV *keysv)
|
||||||
if (retval != SQLITE_OK) {
|
if (retval != SQLITE_OK) {
|
||||||
char *errmsg = (char*)sqlite3_errmsg(imp_dbh->db);
|
char *errmsg = (char*)sqlite3_errmsg(imp_dbh->db);
|
||||||
sqlite_error(sth, (imp_xxh_t*)imp_sth, retval, errmsg);
|
sqlite_error(sth, (imp_xxh_t*)imp_sth, retval, errmsg);
|
||||||
|
av_store(av, n, newSViv(2)); /* SQL_NULLABLE_UNKNOWN */
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
av_store(av, n, newSViv(!notnull));
|
||||||
}
|
}
|
||||||
av_store(av, n, newSViv(!notnull));
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue