Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SetErrorLog function #1190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add SetErrorLog function #1190

wants to merge 1 commit into from

Conversation

c4rlo
Copy link

@c4rlo c4rlo commented Sep 30, 2023

This function sets a callback that SQLite invokes when it detects an anomaly. See https://sqlite.org/errlog.html.

@c4rlo
Copy link
Author

c4rlo commented Dec 23, 2023

I've just rebased this.

Any word from the maintainers on this? I think this would be a good enhancement to have. Quoting the SQLite docs linked above:

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 function sets a callback that SQLite invokes when it detects an
anomaly. See https://sqlite.org/errlog.html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant