From: Ulf Wendel Date: Mon, 4 Jan 2010 15:29:18 +0000 (+0000) Subject: Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now... X-Git-Tag: php-5.4.0alpha1~486 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=795f716832379f43aa7daba605b0c6e136dab24e;p=php Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now backported to MySQL 5.5). --- diff --git a/ext/mysqli/tests/mysqli_constants.phpt b/ext/mysqli/tests/mysqli_constants.phpt index 23f5772217..32a259350a 100644 --- a/ext/mysqli/tests/mysqli_constants.phpt +++ b/ext/mysqli/tests/mysqli_constants.phpt @@ -117,7 +117,9 @@ require_once('skipifconnectfailure.inc'); if (($version > 51122 && $version < 60000) || ($version > 60003) || $IS_MYSQLND) { $expected_constants['MYSQLI_ON_UPDATE_NOW_FLAG'] = true; } - if ($version > 60005 || $IS_MYSQLND) { + + /* First introduced in MySQL 6.0, backported to MySQL 5.5 */ + if ($version >= 50500 || $IS_MYSQLND) { $expected_constants['MYSQLI_SERVER_QUERY_WAS_SLOW'] = true; }