On 9 Dec 2009, at 11:16pm, Alexey Pechnikov wrote:

> I want to build a universal extension for logging all user queries. I can 
> write
> this with trace function but it's difficult or impossible to split system and
> user queries.

Do not rely on the operation of 'trace' in production code.  It's a debugging 
feature only.

If you want to log all queries, supply your own routine for executing SELECT, 
and make it log the SELECT before it applies it.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to