Edit: debug/sfWebDebug.class.php

$log = $this->formatLogLine($log);

// sql queries log
- if (preg_match('/execute(?:Query|Update).+?\:\s+(.+)$/', $log,
$match))
+ if (preg_match('/\b(SELECT|INSERT|UPDATE|DELETE)\b/', $log, $match))
{
- $sqlLogs[] .= $match[1];
+ $sqlLogs[] .= $log;
}

++$line_nb;

On 23 set, 08:51, halfer <[EMAIL PROTECTED]> wrote:
> On Sep 23, 11:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > is it possible to enable show
> > sql queries in web debug toolbar with propel plugin 1.3 ??
>
> I believe a patch is available on the forum if you want to try it out.
> It should be fairly easy to find with a search.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to