summaryrefslogtreecommitdiffstats
path: root/test-sqlite3_errstr.c
Commit message (Collapse)AuthorAgeFilesLines
* Since old SQLite versions do not have sqlite3_errstr(),Ingo Schwarze2014-08-051-0/+8
provide a dummy fallback implementation. Do not bother to decode the error, SQLite error codes are not useful enough for that to be worthwhile. Note that using sqlite3_errmsg(db) would be a bad idea: On malloc() failure, db is NULL, which would cause a segfault. Issue noticed by kristaps@.