Re: Re: Patch: Use notices in PDO

From: Date: Thu, 15 Oct 2009 09:08:34 +0000
Subject: Re: Re: Patch: Use notices in PDO
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-45820@lists.php.net to get a copy of this message
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)? For MySQL we would have to throw an error/exception in case there is a result set open on the same connection. 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. regards, Lukas Kahwe Smith mls@pooteeweet.org

« previous php.internals (#45820) next »