On 3 May 2017, at 18:16, Olivier Mascia <o...@integral.be> wrote: > Would there be a cheap way for SQLite to log some more user-realm context > about these? > Maybe simply emitting a second call to the log function right after these > messages code 284 where the third parameter (msg) would simply point at the > prepared statement SQL text (just as sqlite3_sql(sqlite3_stmt*) returns?
Why don’t you write your own wrapper functions for the base SQLite calls. My set of these functions logs where each call occurs and what the SQL was. -- Cheers -- Tim _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users