Re: mysqli tests breaking
| From: | Rasmus Lerdorf | Date: | Mon, 05 Sep 2011 16:49:04 +0000 |
| Subject: | Re: mysqli tests breaking | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55231@lists.php.net to get a copy of this message | ||
On 09/05/2011 08:07 AM, Andrey Hristov wrote:
> and here we see a bug. The value in libmysql is not reset, as the
> Documentation states. Clear bug.
For cases where a test exposes a libmysql bug, especially if it is
something that acts differently across different versions of libmysql,
the test should remain a FAIL, but it should point to the mysql.com bug
# so end users realize that they have a version of libmysql with that
specific bug.
In cases where there is no agreement whether something is a bug or just
undefined behaviour it would be really nice if the library authors could
work this out and agree on a common behaviour and failing that PHP
should try to mask the internal Oracle/MySQL squabbles and present
consistent behaviour to the user.
-Rasmus