On Fri, Oct 9, 2009 at 11:12 PM, Samuel ROZE <samuel.r...@gmail.com> wrote: > Le vendredi 09 octobre 2009 à 23:05 +0200, Pierre Joye a écrit : >> About applying it, we should wait a bit more until we get more >> feedbacks (say until the middle of next week). > > Oh yeah of course ! It was just a question to know how it happened. ;-) > >> Then see how we can do it for the other drivers at the same time. > > I'm looking for Oracle. > Is somebody know how we can do for MySQL (and how raise notices with > it) ? > http://dev.mysql.com/doc/refman/5.1/en/show-warnings.html >> Cheers, >> -- >> Pierre >> >> On Fri, Oct 9, 2009 at 10:31 PM, Samuel ROZE <samuel.r...@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 >> >> >> >> 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 >> > >> > >> >> >> > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php