Re: Re: Patch: Use notices in PDO
| From: | Samuel ROZE | Date: | Thu, 15 Oct 2009 17:40:30 +0000 |
| Subject: | Re: Re: Patch: Use notices in PDO | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45827@lists.php.net to get a copy of this message | ||
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
>
>
>