]> granicus.if.org Git - php/commitdiff
Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now...
authorUlf Wendel <uw@php.net>
Mon, 4 Jan 2010 15:29:18 +0000 (15:29 +0000)
committerUlf Wendel <uw@php.net>
Mon, 4 Jan 2010 15:29:18 +0000 (15:29 +0000)
ext/mysqli/tests/mysqli_constants.phpt

index 23f5772217a5ed154962c4e347225df799bb3f48..32a259350adab40589d526775556cc4ca748d934 100644 (file)
@@ -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;
        }