From ff1535fe73f498033a521ef96e1d2cbca9586b02 Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Thu, 28 May 2009 13:55:46 +0000 Subject: [PATCH] Fixing test (its OK in 5_3 and needs to be fixed in HEAD) --- ext/mysqli/tests/mysqli_kill.phpt | 48 ++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/ext/mysqli/tests/mysqli_kill.phpt b/ext/mysqli/tests/mysqli_kill.phpt index 8e1665dd97..f4848f5b10 100644 --- a/ext/mysqli/tests/mysqli_kill.phpt +++ b/ext/mysqli/tests/mysqli_kill.phpt @@ -1,9 +1,9 @@ --TEST-- mysqli_kill() --SKIPIF-- - --FILE-- @@ -66,16 +66,50 @@ require_once('skipifconnectfailure.inc'); ?> --EXPECTF-- Warning: mysqli_kill(): processid should have positive value in %s on line %d -unicode(%d) "%s" +%unicode|string%(%d) "%s" bool(false) -object(mysqli)#%d (0) { +object(mysqli)#%d (%d) { + [%u|b%"affected_rows"]=> + int(-1) + [%u|b%"client_info"]=> + %unicode|string%(%d) "%s" + [%u|b%"client_version"]=> + int(%d) + [%u|b%"connect_errno"]=> + int(0) + [%u|b%"connect_error"]=> + %unicode|string%(0) "" + [%u|b%"errno"]=> + int(2006) + [%u|b%"error"]=> + %unicode|string%(26) "MySQL server has gone away" + [%u|b%"field_count"]=> + int(0) + [%u|b%"host_info"]=> + %unicode|string%(42) "MySQL host info: Localhost via UNIX socket" + [%u|b%"info"]=> + %unicode|string%(38) "Records: 6 Duplicates: 0 Warnings: 0" + [%u|b%"insert_id"]=> + int(0) + [%u|b%"server_info"]=> + %unicode|string%(%d) "%s" + [%u|b%"server_version"]=> + int(%d) + [%u|b%"sqlstate"]=> + %unicode|string%(5) "HY000" + [%u|b%"protocol_version"]=> + int(10) + [%u|b%"thread_id"]=> + int(%d) + [%u|b%"warning_count"]=> + int(0) } Warning: mysqli_kill(): processid should have positive value in %s on line %d array(1) { - [u"id"]=> - unicode(1) "1" + [%u|b%"id"]=> + %unicode|string%(1) "1" } Warning: mysqli_kill(): processid should have positive value in %s on line %d -done! +done! \ No newline at end of file -- 2.50.1