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 bindings for sqlite3_trace_v2 API #1484

Open
WesleyAC opened this issue Mar 24, 2024 · 4 comments
Open

Add bindings for sqlite3_trace_v2 API #1484

WesleyAC opened this issue Mar 24, 2024 · 4 comments

Comments

@WesleyAC
Copy link

The trace feature flag currently enables the deprecated tracing functions. It should provide access to the new sqlite3_trace_v2 API as well.

@gwenn
Copy link
Collaborator

gwenn commented Mar 24, 2024

// TODO sqlite3_trace_v2 (https://sqlite.org/c3ref/trace_v2.html) // 3.14.0, #977

And the old functions seem not really deprecated at least on this page:
http://sqlite.org/c3ref/funclist.html

functions whose names are struck through are deprecated.

@WesleyAC
Copy link
Author

Interesting point, reported on the SQLite forum. Either way, I'd like access to the v2 API, since it structures the data in a way that's nicer for generating spans to integrate into my tracing system, which is what I want to do.

Should this issue be merged into #977, or kept separate?

@gwenn
Copy link
Collaborator

gwenn commented Mar 24, 2024

You can keep it separate.

@sgbeal
Copy link

sgbeal commented Mar 25, 2024

Interesting point, reported on the SQLite forum.

The upstream doc generator now knows that sqlite3_trace() and sqlite3_profile() are deprecated and will flag them as such the next time the site is rebuilt (which typically happens as a release approaches). Thank you for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants