Re: com php-src: fix test: ext/mysqli/tests/mysqli_constants.phpt
| From: | Laruence | Date: | Sun, 17 Nov 2013 09:27:51 +0000 |
| Subject: | Re: com php-src: fix test: ext/mysqli/tests/mysqli_constants.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-73963@lists.php.net to get a copy of this message | ||
... seems wrong git commit log was sent...
thanks
On Fri, Oct 12, 2012 at 4:35 PM, Xinchen Hui <laruence@php.net> wrote:
> Commit: 6fbcf693750d682b223660d3299a0b6864915acc
> Author: Andrey Hristov <andrey@php.net> Fri, 12 Oct 2012 10:35:45 +0200
> Parents: 0f3fb08a8dac2d39b6923bc23d6cfc71eac6fa9e
> Branches: PHP-5.4
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=6fbcf693750d682b223660d3299a0b6864915acc
> ã…:Îþï†èµ>Û
>
> Log:
> fix test
>
> Changed paths:
> M ext/mysqli/tests/mysqli_constants.phpt
>
>
> Diff:
> diff --git a/ext/mysqli/tests/mysqli_constants.phpt b/ext/mysqli/tests/mysqli_constants.phpt
> index 613dddf..0f87187 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,
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Laruence Xinchen Hui
http://www.laruence.com/