Re: All executed queries in DB (Common?)
| From: | Justin Patrin | Date: | Mon, 17 Apr 2006 23:06:13 +0000 |
| Subject: | Re: All executed queries in DB (Common?) | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23689@lists.php.net to get a copy of this message | ||
On 4/17/06, Charlie van de Kerkhof <pear@mowd.nl> wrote:
> So it's not supported that all executed queries are stored in a
> variable which can be read and printed at the end of the script?
>
Nope. You could always extend DB_mysql (or whichever DB you're using)
and overload query() to log your queries.
> Bummer!
> - Charlie
>
>
> On 18 Apr 2006, at 00:28, Justin Patrin wrote:
>
> > On 4/17/06, Charlie van de Kerkhof <pear@mowd.nl> wrote:
> >> Hi,
> >>
> >> I was wondering if you could get all executed queries at the end of a
> >> script for debugging reasons.
> >> I can build it myself, but I was wondering if DB (or DB_Common) has a
> >> built in functionality that I can't find.
> >>
> >
> > Not AFAIK.
> >
> > --
> > Justin Patrin
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Justin Patrin