Fixing test (its OK in 5_3 and needs to be fixed in HEAD)

This commit is contained in:
Ulf Wendel 2009-05-28 13:55:46 +00:00
parent c85b4de5fb
commit ff1535fe73

View file

@ -1,9 +1,9 @@
--TEST-- --TEST--
mysqli_kill() mysqli_kill()
--SKIPIF-- --SKIPIF--
<?php <?php
require_once('skipif.inc'); require_once('skipif.inc');
require_once('skipifemb.inc'); require_once('skipifemb.inc');
require_once('skipifconnectfailure.inc'); require_once('skipifconnectfailure.inc');
?> ?>
--FILE-- --FILE--
@ -66,16 +66,50 @@ require_once('skipifconnectfailure.inc');
?> ?>
--EXPECTF-- --EXPECTF--
Warning: mysqli_kill(): processid should have positive value in %s on line %d Warning: mysqli_kill(): processid should have positive value in %s on line %d
unicode(%d) "%s" %unicode|string%(%d) "%s"
bool(false) 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 Warning: mysqli_kill(): processid should have positive value in %s on line %d
array(1) { array(1) {
[u"id"]=> [%u|b%"id"]=>
unicode(1) "1" %unicode|string%(1) "1"
} }
Warning: mysqli_kill(): processid should have positive value in %s on line %d Warning: mysqli_kill(): processid should have positive value in %s on line %d
done! done!