mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
There subtle differences between Linux and Win. mysqlnd is a bit more verbose on Win... silencing to make the test pass
This commit is contained in:
parent
26270b4fd7
commit
d356459971
1 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ require_once('skipifconnectfailure.inc');
|
||||||
$len = strlen($sql);
|
$len = strlen($sql);
|
||||||
assert($len < $package_size);
|
assert($len < $package_size);
|
||||||
|
|
||||||
if (!mysqli_query($link, $sql)) {
|
if (!@mysqli_query($link, $sql)) {
|
||||||
if (1153 == mysqli_errno($link) || 2006 == mysqli_errno($link) || stristr(mysqli_error($link), 'max_allowed_packet'))
|
if (1153 == mysqli_errno($link) || 2006 == mysqli_errno($link) || stristr(mysqli_error($link), 'max_allowed_packet'))
|
||||||
/*
|
/*
|
||||||
myslqnd - [1153] Got a packet bigger than 'max_allowed_packet' bytes
|
myslqnd - [1153] Got a packet bigger than 'max_allowed_packet' bytes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue