mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone.
This commit is contained in:
parent
1228c92303
commit
cc3db5cc65
@ -8,15 +8,7 @@ require_once('skipifconnectfailure.inc');
|
||||
require_once('connect.inc');
|
||||
|
||||
if (!$IS_MYSQLND) {
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
die("skip Can't test server version, might hit known bugs http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184");
|
||||
|
||||
if ((mysqli_get_client_version($link) <= 50139) || (mysqli_get_server_version($link) <= 50139))
|
||||
/* #30472 got fixed in 5.1.23 but #45184 is open */
|
||||
die(sprintf("skip libmysql %s should have bugs http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184",
|
||||
mysqli_get_client_version($link)));
|
||||
|
||||
mysqli_close($link);
|
||||
die("skip Might hit known and open bugs http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
|
Loading…
Reference in New Issue
Block a user