Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] Query counting

propel
Discussion topic

Back to topic list

Re: [propel-dev] Query counting

Reply

Author hlellelid
Full name Hans Lellelid
Date 2007-07-12 14:29:11 PDT
Message I think that's a very good suggestion.

Hans

Cameron Brunner wrote:
> I would be more interested at this point in offering DebugPropelPDO as
> a connection object type and adding a full array of debug info (query
> timing, counting, dupe query detection) to it and have a flag that
> switches to it when requested. Query timing generally interests me
> more than the count.
>
> Just my 2c
>
> On 7/13/07, Oliver Schonrock <oliver at realtsp dot com> wrote:
>> Hans Lellelid wrote:
>> > This looks interesting, Oliver. Other than not being able to use
>> > user-defined class with persistent connection (am I understanding that
>> > correctly? seems odd), were there any other limitations?
>> >
>>
>> I checked what the story is with that "Cannot be used with persistent
>> PDO
>> instances.". It throws a PHP warning and behaves irractically. Suspect
>> it's kind of like unserializing a class from session without having the
>> class defined first. ie you get half an object.
>>
>> better patch takes care of the "Cannot be used with persistent PDO
>> instances." problem by checking the PDO config and refusing to subclass
>> PDOStatement. Consequently the getQueryCount() method doesn't work
>> correctly anymore and therefore throws an exception.
>>
>> this should ensure backward compatibility.
>>
>> http://propel.phpdb.​org/trac/ticket/454#​comment:2
>>
>>
>>
>>
>>
>
>

« Previous message in topic | 8 of 36 | Next message in topic »

Messages

Show all messages in topic

                                                             Re: [propel-dev] Query counting Christian Kassab <chris dot kassab at gmail dot com> Christian Kassab <chris dot kassab at gmail dot com> 2007-07-19 07:25:22 PDT
                                                                 Re: [propel-dev] Query counting hlellelid Hans Lellelid 2007-07-19 08:56:10 PDT
                                                                 Re: [propel-dev] Query counting Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-07-19 11:22:04 PDT
                                                                     Re: [propel-dev] Query counting Christian Kassab <chris dot kassab at gmail dot com> Christian Kassab <chris dot kassab at gmail dot com> 2007-07-19 13:41:31 PDT
                                                                         Re: [propel-dev] Query counting Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-07-19 18:21:13 PDT
                                                                 Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:36:08 PDT
                                                             Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:32:38 PDT
                                                         Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:30:30 PDT
         Re: [propel-dev] translation cysio Krzysio 2007-12-27 02:11:27 PST
             Re: [propel-dev] translation hlellelid Hans Lellelid 2007-12-27 04:07:50 PST
                 Re: [propel-dev] translation cysio Krzysio 2007-12-27 04:27:41 PST
Page: of 2 « Previous | Next »
Messages per page: