From: Ulf Wendel Date: Thu, 12 Jul 2007 20:57:30 +0000 (+0000) Subject: Will this never end? X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6cc61737fa7bbc1e6de046a46f7c051bf6af86a;p=php Will this never end? - connection parameter tweaking - a bit of whitespace here and there - use UEXPECTF if need be --- diff --git a/ext/mysqli/tests/050.phpt b/ext/mysqli/tests/050.phpt index 5f923ccf34..1e3fd6403a 100644 --- a/ext/mysqli/tests/050.phpt +++ b/ext/mysqli/tests/050.phpt @@ -1,15 +1,15 @@ --TEST-- -non freed statement test +non freed statement test --SKIPIF-- --FILE-- --FILE-- connect($host, $user, $passwd); + $foo->connect($host, $user, $passwd, $db, $port, $socket); $foo->close(); printf("%s\n", $foo->test()); ?> diff --git a/ext/mysqli/tests/057.phpt b/ext/mysqli/tests/057.phpt index 6f2f797021..063126560a 100644 --- a/ext/mysqli/tests/057.phpt +++ b/ext/mysqli/tests/057.phpt @@ -5,14 +5,14 @@ mysqli_get_metadata --FILE-- --EXPECTF-- +bool(true) +bool(true) +object(mysqli_stmt)#%d (%d) { +} +bool(true) +bool(false) +string(0) "" + +Warning: mysqli_stmt_reset() expects parameter 1 to be mysqli_stmt, boolean given in %s on line %d +NULL +Rows: 3 +array(1) { + [0]=> + string(1) "1" +} +done! +--UEXPECTF-- +bool(true) +bool(true) +object(mysqli_stmt)#%d (%d) { +} +bool(true) +bool(false) +unicode(0) "" + +Warning: mysqli_stmt_reset() expects parameter 1 to be mysqli_stmt, boolean given in %s on line %d +NULL Rows: 3 array(1) { [0]=> - %s(1) "1" + unicode(1) "1" } +done! \ No newline at end of file diff --git a/ext/mysqli/tests/058.phpt b/ext/mysqli/tests/058.phpt index 2c08090d99..b602b55cd5 100644 --- a/ext/mysqli/tests/058.phpt +++ b/ext/mysqli/tests/058.phpt @@ -5,17 +5,17 @@ multiple binds --FILE-- --EXPECTF-- array(4) { [0]=> int(1) [1]=> - %s(3) "foo" + string(3) "foo" + [2]=> + int(2) + [3]=> + string(3) "bar" +} +done! +--UEXPECTF-- +array(4) { + [0]=> + int(1) + [1]=> + unicode(3) "foo" [2]=> int(2) [3]=> - %s(3) "bar" + unicode(3) "bar" } +done! \ No newline at end of file diff --git a/ext/mysqli/tests/059.phpt b/ext/mysqli/tests/059.phpt index 98149f303a..8ad4d86a08 100644 --- a/ext/mysqli/tests/059.phpt +++ b/ext/mysqli/tests/059.phpt @@ -5,19 +5,19 @@ sqlmode + bind --FILE-- --EXPECT-- string(6) "foobar" +done! --UEXPECT-- unicode(6) "foobar" +done! \ No newline at end of file