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
m...@pooteeweet.org




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to