On Fri, Sep 2, 2011 at 5:32 PM, Frans Knibbe <frans.kni...@geodan.nl> wrote:

> If SQLite could log this statement including the comment, it would still be
> possible to distinguish sources. Or reject the logging of statement with a
> trigger similar to the one you proposed..
>

Why not just write a small wrapper function which does the logging and
executes the statements? It could take additional arguments, e.g. a symbolic
name for the source of the query (e.g. "app2.funcA()").


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to