P Kishor wrote: > I have a rather opaque application that is calling my db. Is there > something I can turn on in SQLite that will log all the statements > executed against it? >
You can use sqlite3_trace() to register a callback that is passed each SQL statement as it is executed. Your callback can log this to a file. See http://www.sqlite.org/c3ref/profile.html for more info. One drawback of this technique is that you don't get to see the values of any bound parameters. HTH Dennis Cote _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users