Repository navigation
Implement SQLite error logging - #6291
Conversation
|
@friedbunny, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh and @artemp to be potential reviewers. |
|
Clang-tidy failed: ... which is legit, because
What’s our preferred way of dealing with unused parameters? |
|
Here’s the only message I’ve seen so far, as an example of the output:
This message seems to come every time the database is started (i.e., on app launch). More on SQLite result codes here — |
Omit the argument name: LGTM. This should help immensely. |
c7410bd to
2ed98b2
Compare
|
Thanks @jfirebaugh, I’ve removed the argument name and pushed a rebased branch. |
Implements SQLite error logging in a very verbose fashion — for now, everything gets logged. As we see what comes down the tube, we can selectively silence common or irrelevant messages.
Notes
sqlite3_config()must be called before the database is initialized (which happens automatically viasqlite3_open_v2()).Fixes #6267.
/cc @jfirebaugh @kkaefer @tobrun