From cbb3b6d8b127ed0608a07e8184035a2b90794e04 Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Mon, 4 Jan 2010 15:29:18 +0000 Subject: [PATCH] Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now backported to MySQL 5.5). --- ext/mysqli/tests/mysqli_constants.phpt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.50.1