1
0
Fork 0
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:
Kenichi Ishigaki 2009-04-08 05:23:13 +00:00
parent b0792ba325
commit 7ecd1839b9

View file

@ -808,9 +808,12 @@ 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
} }
else if (strEQ(key, "SCALE")) { else if (strEQ(key, "SCALE")) {