From 2876046398950e59c3b3c460e67e6fec7ff2ba3c Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Wed, 3 Dec 2008 20:30:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'. --- ext/mysql/tests/mysql_db_name.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mysql/tests/mysql_db_name.phpt') diff --git a/ext/mysql/tests/mysql_db_name.phpt b/ext/mysql/tests/mysql_db_name.phpt index b1a03ed2cd..7341259788 100644 --- a/ext/mysql/tests/mysql_db_name.phpt +++ b/ext/mysql/tests/mysql_db_name.phpt @@ -15,8 +15,8 @@ $link = NULL; if (NULL !== ($tmp = @mysql_db_name())) printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); -if (NULL !== ($tmp = @mysql_db_name($link, $link))) - printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); +if (false !== ($tmp = @mysql_db_name($link, $link))) + printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); require('table.inc'); @@ -63,4 +63,4 @@ Warning: mysql_db_name(): Unable to jump to row -1 on MySQL result index %d in % Warning: mysql_db_name(): Unable to jump to row %d on MySQL result index %d in %s on line %d Warning: mysql_db_name(): %d is not a valid MySQL result resource in %s on line %d -done! +done! \ No newline at end of file -- cgit v1.2.1