On Sat, 18 Apr 2009, Thomas Koch wrote:

> I'm just looking at a talk[1] from a flickr guy and he mentions a 
> debugging trick they use:
> 
> While in Debug mode, enhance each SQL query with a comment containing 
> the full PHP backtrace. Thus you can see in the DB-log where each 
> query comes from in your PHP code.
> 
> May I put this as an enhancement request in the issue tracker? We 
> would need
> 
> - ezcQuery::comment() // Add a comment to the request
> - ezcDbHandler automatically adding a Debug comment on each request 
>   while in Debug mode

Sure, you can put this in. It'd be better if it came with a proper patch 
and test cases though.

regards,
-- 
Derick Rethans
eZ components Product Manager
eZ systems | http://ez.no
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to