uw Wed Jul 11 15:47:39 2007 UTC Modified files: /php-src/ext/mysql/tests mysql_list_fields.phpt Log: Whitespace only http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/tests/mysql_list_fields.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/mysql/tests/mysql_list_fields.phpt diff -u php-src/ext/mysql/tests/mysql_list_fields.phpt:1.1 php-src/ext/mysql/tests/mysql_list_fields.phpt:1.2 --- php-src/ext/mysql/tests/mysql_list_fields.phpt:1.1 Sun Nov 19 12:14:44 2006 +++ php-src/ext/mysql/tests/mysql_list_fields.phpt Wed Jul 11 15:47:38 2007 @@ -4,27 +4,26 @@ <?php require_once('skipif.inc'); ?> --FILE-- <?php - include_once "connect.inc"; +include_once "connect.inc"; - $tmp = NULL; - $link = NULL; - - if (false !== ($tmp = @mysql_list_fields($link, $link))) - printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); - - require('table.inc'); - - if (!$res = mysql_list_fields($db, 'test', $link)) - printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link)); - - if (!($num = mysql_num_fields($res))) - printf("[004] Empty field list? [%d] %s\n", mysql_errno($link), mysql_error($link)); - - - mysql_free_result($res); - mysql_close($link); - - print "done!\n"; +$tmp = NULL; +$link = NULL; + +if (false !== ($tmp = mysql_list_fields($link, $link))) + printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); + +require('table.inc'); + +if (!$res = mysql_list_fields($db, 'test', $link)) + printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link)); + +if (!($num = mysql_num_fields($res))) + printf("[004] Empty field list? [%d] %s\n", mysql_errno($link), mysql_error($link)); + +mysql_free_result($res); +mysql_close($link); + +print "done!\n"; ?> --EXPECTF-- -done! +done! \ No newline at end of file
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php