SQLite Forum

System.Data.SQLite - Trace Event
Login

System.Data.SQLite - Trace Event

(1) By Aask (AAsk1902) on 2023-01-12 02:12:40 [source]

I can raise the Trace event on the connection object but cannot find a way to specify the unsigned uMask parameter.

System.Data.SQLite appears to expose the superseded sqlite3_trace API rather than the recommended sqlite3_trace_v2 API.

Any insight?

(2) By mistachkin on 2023-01-17 04:09:02 in reply to 1 [link] [source]

Support for sqlite3_trace_v2 is being added for the next release of
System.Data.SQLite, please see ongoing work here:
https://system.data.sqlite.org/index.html/info/5ad580f5ecbd3ca7

(3) By Aask (AAsk1902) on 2023-01-17 04:53:30 in reply to 2 [link] [source]

Thank you; looking forward to the next release.

(4) By mistachkin on 2023-01-17 05:14:07 in reply to 3 [link] [source]

Meanwhile, please feel free to test the current trunk code in your environment
and provide any feedback you may have about it.

(5) By Aask (AAsk1902) on 2023-01-17 05:28:35 in reply to 4 [link] [source]

... test the current trunk code...

I'll certainly test and provide feedback when I can download the precompiled binaries - my platform is Windows x86/x64; alas, without further guidance, I have no idea what current trunk code means.

(6) By mistachkin on 2023-01-17 05:37:28 in reply to 5 [link] [source]

The current trunk code is available via Fossil, here:
https://system.data.sqlite.org/index.html/timeline?r=trunk
Unfortunately, using it generally requires building binaries.

(7) By Ashkayn (neocraft) on 2023-01-18 16:26:23 in reply to 4 [link] [source]

Could the SQLite lib version get updated to SQLite 3.40.1 ? Best practice is to keep the SQLite version consistent across all clients.

(8) By mistachkin on 2023-01-18 18:35:53 in reply to 7 [link] [source]

Yes, the SQLite core library included with System.Data.SQLite will be updated
to the latest official released version before release.