Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45716 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83519 invoked from network); 10 Oct 2009 10:44:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2009 10:44:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.206 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.206 mail-bw0-f206.google.com Received: from [209.85.218.206] ([209.85.218.206:60212] helo=mail-bw0-f206.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/12-05605-B9560DA4 for ; Sat, 10 Oct 2009 06:44:44 -0400 Received: by bwz2 with SMTP id 2so6434593bwz.23 for ; Sat, 10 Oct 2009 03:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=vwZ+UJcLGb9dQMG02IjPBFHQrPNa1CF+rdnfjcZBQsY=; b=AxZ5Oo54Zi9D6Das6bmkmSNzXoWBMz8lGmUK9ALmQxFhEyKVzXe9/2qCoxCVzJC2Gz Ynb7vwEpS3+SBKXvM7XDQO4RCfZwWGa69gqj2BLKOD2b6I/k3MaOQRBAQXpysoEwk4xV 1dRv7BSX8tLN/1otUsz7oLnKLcBsyidLfqark= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=k/M/gftDKRvyEsgh1UboNCKNxuqb4N0f7ZgzA00yvT2R0S1PxGRFjw+fO/0f+3FA82 7VIdXT3YQ2b4tinRVZlNGuvUbEEGxLiZs+llFdEkf1kvA3P5lP/VeL2FDH7IHICKFr1+ 20FvgFrBQQGjOIRI0ISlr6LZTHPVRSNPqHVAk= MIME-Version: 1.0 Sender: tyra3l@gmail.com Received: by 10.239.139.201 with SMTP id u9mr200685hbu.112.1255171480306; Sat, 10 Oct 2009 03:44:40 -0700 (PDT) In-Reply-To: <1255122734.3605.21.camel@samuel-laptop> References: <1255038690.10759.9.camel@samuel-laptop> <1255120269.3605.14.camel@samuel-laptop> <1255122734.3605.21.camel@samuel-laptop> Date: Sat, 10 Oct 2009 12:44:40 +0200 X-Google-Sender-Auth: 5caaff0db07bf02a Message-ID: To: Samuel ROZE Cc: Pierre Joye , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Patch: Use notices in PDO From: info@tyrael.hu (Ferenc Kovacs) On Fri, Oct 9, 2009 at 11:12 PM, Samuel ROZE wrote: > Le vendredi 09 octobre 2009 =C3=A0 23:05 +0200, Pierre Joye a =C3=A9crit = : >> 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 wro= te: >> > Just a little question: >> > - How I can propose my patch to be merged to PHP ? >> > >> > Rather suggest.. :-) >> > >> > Le jeudi 08 octobre 2009 =C3=A0 23:51 +0200, Samuel ROZE a =C3=A9crit = : >> >> 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 >> >> =C2=A0 =C2=A0 =C2=A0 - PDO::NOTICES_FETCH - fetch notices >> >> =C2=A0 =C2=A0 =C2=A0 - 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-n= otices-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 > >