diff options
author | Andrey Hristov <andrey@php.net> | 2012-10-12 10:35:45 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2012-10-12 10:35:45 +0200 |
commit | 6fbcf693750d682b223660d3299a0b6864915acc (patch) | |
tree | 0565b7dfc89299ca0623d5f78036b0c9e6b5a190 | |
parent | 0f3fb08a8dac2d39b6923bc23d6cfc71eac6fa9e (diff) | |
download | php-git-6fbcf693750d682b223660d3299a0b6864915acc.tar.gz |
fix test
-rw-r--r-- | ext/mysqli/tests/mysqli_constants.phpt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mysqli/tests/mysqli_constants.phpt b/ext/mysqli/tests/mysqli_constants.phpt index 613dddfc85..0f87187216 100644 --- a/ext/mysqli/tests/mysqli_constants.phpt +++ b/ext/mysqli/tests/mysqli_constants.phpt @@ -125,6 +125,12 @@ require_once('skipifconnectfailure.inc'); $expected_constants['MYSQLI_SERVER_QUERY_WAS_SLOW'] = true; } + + /* First introduced in MySQL 6.0, backported to MySQL 5.5 */ + if ($version >= 50606 || $IS_MYSQLND) { + $expected_constants['MYSQLI_SERVER_PUBLIC_KEY'] = true; + } + if ($version > 50002) { $expected_constants = array_merge($expected_constants, array( "MYSQLI_TYPE_NEWDECIMAL" => true, |