[Catalyst] updating $c->user at runtime
Will Hawes
info at whawes.co.uk
Tue Feb 7 12:51:41 CET 2006
Wijnand Wiersma wrote:
>
> Op 7-feb-2006, om 12:04 heeft Yuval Kogman het volgende geschreven:
>> Very odd... Please set the environment variable DBI_TRACE to "1"
>> before running the server, and see if you get any SQL operations
>> during that request.
>
> Well, it seems to do selects only.
>
> Nice option DBI_TRACE, have to remember that one :-)
>
> Wijnand
>
Another useful (and perhaps more convenient) way to trace SQL execution
with DBIx::Class is to set DBIX_CLASS_STORAGE_DBI_DEBUG to 1 in your
environment.
More information about the Catalyst
mailing list