From: Ulf Wendel Date: Thu, 12 Jul 2007 10:47:00 +0000 (+0000) Subject: 1) Whitespace/CS X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=063987fed59e9a15b07dd17e992e1053f116db3b;p=php 1) Whitespace/CS 2) Portability: don't expect any values and have them in the [U]EXPECTF, if they will be available only with certain MySQL Server versions. --- diff --git a/ext/mysql/tests/mysql_query.phpt b/ext/mysql/tests/mysql_query.phpt index 44b5c53b9c..185aa1ea8e 100644 --- a/ext/mysql/tests/mysql_query.phpt +++ b/ext/mysql/tests/mysql_query.phpt @@ -2,100 +2,99 @@ mysql_query() --SKIPIF-- - --FILE-- --EXPECTF-- array(1) { ["valid"]=> string(30) "this is sql but with semicolon" } -array(1) { - ["p_version"]=> - string(%d) "%s" -} -array(1) { - ["f_version"]=> - string(%d) "%s" -} Warning: mysql_query(): %d is not a valid MySQL-Link resource in %s on line %d -done! +done! --UEXPECTF-- array(1) { [u"valid"]=> unicode(30) "this is sql but with semicolon" } -array(1) { - [u"p_version"]=> - unicode(%d) "%s" -} -array(1) { - [u"f_version"]=> - unicode(%d) "%s" -} Warning: mysql_query(): %d is not a valid MySQL-Link resource in %s on line %d -done! +done! \ No newline at end of file