Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45828 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61397 invoked from network); 15 Oct 2009 18:08:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2009 18:08:45 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:56877] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/D9-14330-B2567DA4 for ; Thu, 15 Oct 2009 14:08:44 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 851A91EBC014; Thu, 15 Oct 2009 18:09:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qSgtxz3i+JMV; Thu, 15 Oct 2009 20:09:56 +0200 (CEST) Received: from [192.168.0.151] (217-162-131-234.dclient.hispeed.ch [217.162.131.234]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 6FE8C414400B; Thu, 15 Oct 2009 20:09:56 +0200 (CEST) Cc: internals@lists.php.net Message-ID: <1C461381-49C6-4EDB-985F-D9E68B368FAF@pooteeweet.org> To: Samuel ROZE In-Reply-To: <1255628430.27768.5.camel@samuel-laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 15 Oct 2009 20:08:37 +0200 References: <1255038690.10759.9.camel@samuel-laptop> <1255366822.3605.80.camel@samuel-laptop> <756DDBB8-0856-495F-B525-FD22C6EC7915@pooteeweet.org> <1255378394.4410.102.camel@samuel-laptop> <18e9608a0910130134l2d4768e5m282093d406268163@mail.gmail.com> <6D6C132B-DF13-4335-A625-20AAA6C3BFB3@pooteeweet.org> <1255628430.27768.5.camel@samuel-laptop> X-Mailer: Apple Mail (2.936) Subject: Re: [PHP-DEV] Re: Patch: Use notices in PDO From: mls@pooteeweet.org (Lukas Kahwe Smith) On 15.10.2009, at 19:40, Samuel ROZE wrote: > Le jeudi 15 octobre 2009 =E0 11:08 +0200, Lukas Kahwe Smith a =E9crit = : >> On 13.10.2009, at 10:34, Samuel ROZE wrote: >> >>> http://wiki.php.net/rfc/pdonotices >> >> >> I assume that calling noticeInfo() will also purge all currently >> stored notices (maybe controllable via some parameter)? > > If purge all notices, without parameter, like errorInfo. > >> For MySQL we would have to throw an error/exception in case there =20 >> is a >> result set open on the same connection. > > Is it really impossible to query Database if there is another result =20= > set > opened ? If there's a result set opened seems that there's another =20 > query > in the same time with the same code ? Is it possible ? I don't think > so... yeah .. thats just how it is in MySQL. the warnings are stored in the =20= connection so even opening a second connection to be able to execute =20 another query isnt going to help at all. regards, Lukas Kahwe Smith mls@pooteeweet.org