[dev] [commits] Horde branch master updated. d65c9b454ae57970664a255eaa0be7b7f4ef2b80

Jan Schneider jan at horde.org
Wed Mar 30 08:10:51 UTC 2011


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> The branch "master" has been updated.
>> The following is a summary of the commits.
>>
>> from: 12fe5ee6134b140673f8e236d4a9a5df8e282c1c
>>
>> d65c9b4 Move the last query storage to a protected method with an  
>> accessor for consistency with the rest of Horde_Db
>>
>> -----------------------------------------------------------------------
>>
>> commit d65c9b454ae57970664a255eaa0be7b7f4ef2b80
>> Author: Chuck Hagenbuch <chuck at horde.org>
>> Date:   Wed Mar 30 00:02:40 2011 -0400
>>
>>    Move the last query storage to a protected method with an  
>> accessor for consistency with the rest of Horde_Db
>>
>> framework/Db/lib/Horde/Db/Adapter/Base.php       |   26 ++++++++++----
>> framework/Db/lib/Horde/Db/Adapter/Mysql.php      |    8 ++--
>> framework/Db/lib/Horde/Db/Adapter/Mysqli.php     |    4 +-
>> framework/Db/lib/Horde/Db/Adapter/Pdo/Base.php   |    4 +-
>> framework/Db/lib/Horde/Db/Adapter/Pdo/Pgsql.php  |    8 ++--
>> framework/Db/lib/Horde/Db/Adapter/Pdo/Sqlite.php |   12 +++---
>> framework/Db/lib/Horde/Db/Adapter/SplitRead.php  |   40  
>> +++++++++++-----------
>> 7 files changed, 56 insertions(+), 46 deletions(-)
>>
>> http://git.horde.org/horde-git/-/commit/d65c9b454ae57970664a255eaa0be7b7f4ef2b80
>
> What was this added for, btw? Seems like it might fit better with a  
> profiler-type decorator, or the logging support?

It's one of DB's/MDB2's features I missed most for debugging during  
development. Setting up decorators, or parsing the logs of *all*  
queries are not equal replacements for such a quick and simple tool.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list