1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

DBD-SQLite: added SQL_NULLABLE_UNKNOWN; still wonders if the error above should be ignored or not

This commit is contained in:
Kenichi Ishigaki 2009-04-08 05:23:13 +00:00
parent b0792ba325
commit 7ecd1839b9

View file

@ -808,8 +808,11 @@ sqlite_st_FETCH_attrib (SV *sth, imp_sth_t *imp_sth, SV *keysv)
if (retval != SQLITE_OK) {
char *errmsg = (char*)sqlite3_errmsg(imp_dbh->db);
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
}