SQLite Forum

sqlite3_trace not marked as deprecated
Login

sqlite3_trace not marked as deprecated

(1) By Wesley Aptekar-Cassels (wesleyac) on 2024-03-24 18:26:14 [source]

The Tracing And Profiling Functions page reports "These routines are deprecated", but the List Of Functions page does not show sqlite3_trace or sqlite3_profile as deprecated.

Which of these two is correct? Could they be updated to be in sync?

This was noted in this issue on the Rust bindings.

Thanks,

:w

(2) By Stephan Beal (stephan) on 2024-03-24 21:14:28 in reply to 1 [link] [source]

Which of these two is correct?

sqlite3_trace() has been superseded by sqlite3_trace_v2(). sqlite3_profile()'s functionality has been incorporated into sqlite3_trace_v2().

Could they be updated to be in sync?

It will be done as soon as the script which generates c3ref/funclist.html is updated to understand the "deprecated" flag. Getting that done is now on my TODO list.

Thank you for the report.

(3) By Stephan Beal (stephan) on 2024-03-25 10:34:49 in reply to 1 [link] [source]

The Tracing And Profiling Functions page reports "These routines are deprecated", but the List Of Functions page does not show sqlite3_trace or sqlite3_profile as deprecated.

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