diff options
| author | Ulf Wendel <uw@php.net> | 2010-05-31 12:55:59 +0000 |
|---|---|---|
| committer | Ulf Wendel <uw@php.net> | 2010-05-31 12:55:59 +0000 |
| commit | 9b334da667ea3b05fe54951218dda5e97c34818f (patch) | |
| tree | 4ad6b67d28d52131f2090a759b1c83e53430726d | |
| parent | fb80ebe1021fec6033dd47dd2199dc7120749b25 (diff) | |
| download | php-git-9b334da667ea3b05fe54951218dda5e97c34818f.tar.gz | |
Fixing test - make sure it checks the same conditions for libmysql and mysqlnd
| -rw-r--r-- | ext/mysqli/tests/mysqli_real_connect.phpt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/mysqli/tests/mysqli_real_connect.phpt b/ext/mysqli/tests/mysqli_real_connect.phpt index 5e474d6d2f..2c371328b9 100644 --- a/ext/mysqli/tests/mysqli_real_connect.phpt +++ b/ext/mysqli/tests/mysqli_real_connect.phpt @@ -136,6 +136,7 @@ require_once('skipifconnectfailure.inc'); } mysqli_close($link); + @var_dump($link); if ($IS_MYSQLND) { ini_set('mysqli.default_host', 'p:' . $host); @@ -164,8 +165,6 @@ require_once('skipifconnectfailure.inc'); @mysqli_close($link); } - @var_dump($link); - if (NULL !== ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) printf("[026] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); @@ -187,7 +186,7 @@ object(mysqli)#%d (%d) { [%u|b%"connect_errno"]=> int(%d) [%u|b%"connect_error"]=> - %unicode|string%(%d) "%s + NULL [%u|b%"errno"]=> %s [%u|b%"error"]=> @@ -215,4 +214,4 @@ object(mysqli)#%d (%d) { } Warning: mysqli_real_connect(): Couldn't fetch mysqli in %s on line %d -done!
\ No newline at end of file +done! |
