Re: Re: Patch: Use notices in PDO
| From: | Pierre Joye | Date: | Fri, 09 Oct 2009 21:05:22 +0000 |
| Subject: | Re: Re: Patch: Use notices in PDO | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45714@lists.php.net to get a copy of this message | ||
Hi,
First thanks to have updated the patch according to our last feedback :)
About applying it, we should wait a bit more until we get more
feedbacks (say until the middle of next week). Then see how we can do
it for the other drivers at the same time.
Cheers,
--
Pierre
On Fri, Oct 9, 2009 at 10:31 PM, Samuel ROZE <samuel.roze@gmail.com> wrote:
> Just a little question:
> - How I can propose my patch to be merged to PHP ?
>
> Rather suggest.. :-)
>
> Le jeudi 08 octobre 2009 à 23:51 +0200, Samuel ROZE a écrit :
>> Hi,
>>
>> I've make a patch which insert notices concepts to PDO. It create:
>> - PDO::noticeInfo() - to be like errorInfo
>> - PDO::ATTR_LOG_NOTICES, the name of the PDO parameter
>> Â Â Â - PDO::NOTICES_FETCH - fetch notices
>> Â Â Â - PDO::NOTICES_NONE - don't fetch notices
>>
>> The notices HashTable is emptied at each queries.
>>
>> There is a patch to implements this function into PDO:
>>
>> http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-notices-managment.patch!82â4ŒúwŠ u
>> �Û
>>
>> And one other to implements notices recuperation for PostgreSQL:
>>
>> http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-pgsql-notices-managment.patch
>>
>> It can be done for Oracle, i'm sure.
>>
>> Thanks for feedbacks.
>> Samuel.
>>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org