Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45827 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56146 invoked from network); 15 Oct 2009 17:40:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2009 17:40:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.158 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 72.14.220.158 fg-out-1718.google.com Received: from [72.14.220.158] ([72.14.220.158:56859] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/C8-14330-F8E57DA4 for ; Thu, 15 Oct 2009 13:40:31 -0400 Received: by fg-out-1718.google.com with SMTP id d23so2032570fga.11 for ; Thu, 15 Oct 2009 10:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=O+Vvt+FMd+EeruNtu4Y4nN0qUT/2DK/iaGIBrv5SrlI=; b=MG8bHHhFZWBm4iC/Lz6Q/qBpUXx17VwasH2brgnHQfaQd2Et5pnvYhf2nMaen0fksb GV9gqtYQP2uH1ceqywqCrrC/sYr9sUkEFuzrwXqeZ6Akm/bsGt/EbOKCdeZukIC+PiPA TwXLOEjXc45/Lqk1Q0/jYq8UUtND+rQnJcyDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=FGBjojNRvXwLhAzsUkI+V7jqBkLRb+iH7xHN60eejVRP3oAdhO6XUX9vYulIUwq4Ll ytChS4SchjlIkwKcCQbxKqG+KOoO/GPuJt9Kcox6J2W5qTxxYK89O5yzh/UmbCsLCCaY 5Xd2lhl7zS1PXcKFTdf9SUqmsKEdWAtRqhoVw= Received: by 10.86.222.5 with SMTP id u5mr450164fgg.67.1255628428398; Thu, 15 Oct 2009 10:40:28 -0700 (PDT) Received: from ?192.168.0.10? (lns-bzn-25-82-254-188-15.adsl.proxad.net [82.254.188.15]) by mx.google.com with ESMTPS id 4sm108473fge.7.2009.10.15.10.40.24 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Oct 2009 10:40:26 -0700 (PDT) To: Lukas Kahwe Smith Cc: internals@lists.php.net In-Reply-To: <6D6C132B-DF13-4335-A625-20AAA6C3BFB3@pooteeweet.org> 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> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Oct 2009 19:40:30 +0200 Message-ID: <1255628430.27768.5.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: Patch: Use notices in PDO From: samuel.roze@gmail.com (Samuel ROZE) Le jeudi 15 octobre 2009 à 11:08 +0200, Lukas Kahwe Smith a écrit : > 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 is a > result set open on the same connection. Is it really impossible to query Database if there is another result set opened ? If there's a result set opened seems that there's another query in the same time with the same code ? Is it possible ? I don't think so... > I still believe that it makes sense to add this functionality. > Without it we would have to add database specific solutions for > various drivers. PostgreSQL being the obvious one, but even for MySQL > it would make sense to then at least expose the warning count etc. I still believe into it too ! I'll work about if I've more replies about the RFC. I have got any other replies... Samuel. > regards, > Lukas Kahwe Smith > mls@pooteeweet.org > > >