On Mon, Nov 24, 2014 at 6:51 PM, Andreas Kupries <andre...@activestate.com>
wrote:

> The user() and cgi() functions might be useful for reports, won't they ?
>

i think that was their initial purpose.

printf() seems to be intended for debugging, printing stuff to stdout
> when -sqlprint is given on the command line.
> As such we would/should not see it in regular code I believe.
>

Interestingly, print() was amongst the first features ported to libfossil
(simply because it was used by db_open(), which was amongst the first bits
to be ported), and it's never been used there either (but i can conceive of
debugging-related uses, so i'll keep it around a while).

AFAIK it's not been used in years. If print() goes away, the g.fSqlPrint
flag can also be removed.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to