From: Ulf Wendel Date: Wed, 21 Oct 2009 18:57:45 +0000 (+0000) Subject: There subtle differences between Linux and Win. mysqlnd is a bit more verbose on... X-Git-Tag: php-5.3.2RC1~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d35645997152ccd2dc4617d0e9f4bdcd934be87c;p=php There subtle differences between Linux and Win. mysqlnd is a bit more verbose on Win... silencing to make the test pass --- diff --git a/ext/mysqli/tests/mysqli_fetch_array_large.phpt b/ext/mysqli/tests/mysqli_fetch_array_large.phpt index e69aaade66..25c00baadc 100644 --- a/ext/mysqli/tests/mysqli_fetch_array_large.phpt +++ b/ext/mysqli/tests/mysqli_fetch_array_large.phpt @@ -22,11 +22,11 @@ require_once('skipifconnectfailure.inc'); $len = strlen($sql); 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')) - /* - myslqnd - [1153] Got a packet bigger than 'max_allowed_packet' bytes - libmysql -[2006] MySQL server has gone away + /* + myslqnd - [1153] Got a packet bigger than 'max_allowed_packet' bytes + libmysql -[2006] MySQL server has gone away */ return false;