В сообщении от Saturday 26 July 2008 10:23:57 Roger Binns написал(а): > Alexey Pechnikov wrote: > >> Maybe sqlite3_trace() or sqlite3_profile() can help with what you're > >> looking for here. > > Unfortunately sqlite3_trace isn't that useful as it only tells you the > text of the sql statement but not any bound parameters. The way to get > the bound parameters is to note them in your own functions that prepare > statements and bind them. You may also find this functionality is > already present in various wrappers. For example the Python wrappers do > this.
All wrappers (tcl, python etc.) prepare statements and bind them self? I want to get all sql queries log only from scripts. On C I'm only writing extensions. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users