summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2010-01-04 15:29:18 +0000
committerUlf Wendel <uw@php.net>2010-01-04 15:29:18 +0000
commit795f716832379f43aa7daba605b0c6e136dab24e (patch)
tree3013a6f61ea1c3e11ed97eb9c4fc7b03ce209039
parent0004679f8ade38eb2f58ef30547a85a433ab4c37 (diff)
downloadphp-git-795f716832379f43aa7daba605b0c6e136dab24e.tar.gz
Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now backported to MySQL 5.5).
-rw-r--r--ext/mysqli/tests/mysqli_constants.phpt4
1 files changed, 3 insertions, 1 deletions
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;
}