Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Implement SQLite error/warning logging callback #6267

Closed
friedbunny opened this issue Sep 7, 2016 · 0 comments
Closed

Implement SQLite error/warning logging callback #6267

friedbunny opened this issue Sep 7, 2016 · 0 comments
Assignees
Labels
Core The cross-platform C++ core, aka mbgl

Comments

@friedbunny
Copy link
Contributor

Per http://www.sqlite.org/errlog.html:

SQLite can be configured to invoke a callback function containing an error code and a terse error message whenever anomalies occur. This mechanism is very helpful in tracking obscure problems that occur rarely and in the field. Application developers are encouraged to take advantage of the error logging facility of SQLite in their products, as it is very low CPU and memory cost but can be a huge aid for debugging.

This will be helpful in diagnosing and ultimately fixing #5651, #6193, and other SQLite exceptions that might occur.

/cc @jfirebaugh @tobrun @kkaefer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

No branches or pull requests

1 participant