mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Fixing test (its OK in 5_3 and needs to be fixed in HEAD)
This commit is contained in:
parent
c85b4de5fb
commit
ff1535fe73
1 changed files with 41 additions and 7 deletions
|
@ -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!
|
Loading…
Add table
Add a link
Reference in a new issue