Re: Re: Patch: Use notices in PDO
| From: | Lukas Kahwe Smith | Date: | Thu, 15 Oct 2009 18:08:37 +0000 |
| Subject: | Re: Re: Patch: Use notices in PDO | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45828@lists.php.net to get a copy of this message | ||
On 15.10.2009, at 19:40, Samuel ROZE wrote:
Le jeudi 15 octobre 2009 à 11:08 +0200, Lukas Kahwe Smith a écrit :yeah .. thats just how it is in MySQL. the warnings are stored in the connection so even opening a second connection to be able to execute another query isnt going to help at all. regards, Lukas Kahwe Smith mls@pooteeweet.orgOn 13.10.2009, at 10:34, Samuel ROZE wrote:If purge all notices, without parameter, like errorInfo.http://wiki.php.net/rfc/pdonoticesI 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.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...