From: Andrey Hristov Date: Fri, 29 May 2009 08:58:10 +0000 (+0000) Subject: The option has changed the name, hence we change the test X-Git-Tag: php-5.4.0alpha1~191^2~3461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b21010022dea90aa9046990fe0c6c3aea7e2542;p=php The option has changed the name, hence we change the test --- diff --git a/ext/mysqli/tests/bug45289.phpt b/ext/mysqli/tests/bug45289.phpt index 77160e3a41..2c6bbe9745 100644 --- a/ext/mysqli/tests/bug45289.phpt +++ b/ext/mysqli/tests/bug45289.phpt @@ -28,4 +28,4 @@ require_once('skipifconnectfailure.inc'); --EXPECTF-- [003] [0%s -Fatal error: Call to a member function fetch_assoc() on a non-object in %s on line %d \ No newline at end of file +Fatal error: Call to a member function fetch_assoc() on a non-object in %s on line %d diff --git a/ext/mysqli/tests/mysqli_options.phpt b/ext/mysqli/tests/mysqli_options.phpt index c15fbbec9f..2a1e25c290 100644 --- a/ext/mysqli/tests/mysqli_options.phpt +++ b/ext/mysqli/tests/mysqli_options.phpt @@ -39,11 +39,11 @@ already through other measures. $valid_options[] = constant('MYSQLI_OPT_NET_CMD_BUFFER_SIZE'); if ($IS_MYSQLND && defined('MYSQLI_OPT_NET_READ_BUFFER_SIZE')) $valid_options[] = constant('MYSQLI_OPT_NET_READ_BUFFER_SIZE'); - if ($IS_MYSQLND && defined('MYSQLI_OPT_INT_AND_YEARS_AS_INT')) - $valid_options[] = constant('MYSQLI_OPT_INT_AND_YEARS_AS_INT'); + if ($IS_MYSQLND && defined('MYSQLI_OPT_INT_AND_FLOAT_NATIVE')) + $valid_options[] = constant('MYSQLI_OPT_INT_AND_FLOAT_NATIVE'); if (defined('MYSQLI_OPT_NUMERIC_AND_DATETIME_AS_UNICODE')) $valid_options[] = constant('MYSQLI_OPT_NUMERIC_AND_DATETIME_AS_UNICODE'); - + $tmp = NULL; $link = NULL;