Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. | Ingo Schwarze | 2014-08-10 | 1 | -2/+0 |
| | | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing. | ||||
* | Since old SQLite versions do not have sqlite3_errstr(), | Ingo Schwarze | 2014-08-05 | 1 | -0/+18 |
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@. |