]> granicus.if.org Git - php/commitdiff
Fixing test (its OK in 5_3 and needs to be fixed in HEAD)
authorUlf Wendel <uw@php.net>
Thu, 28 May 2009 13:55:46 +0000 (13:55 +0000)
committerUlf Wendel <uw@php.net>
Thu, 28 May 2009 13:55:46 +0000 (13:55 +0000)
ext/mysqli/tests/mysqli_kill.phpt

index 8e1665dd97a0acbe07075da88de6cb828f06765d..f4848f5b10b0451894ee6afa311f248035b20cd1 100644 (file)
@@ -1,9 +1,9 @@
 --TEST--
 mysqli_kill()
 --SKIPIF--
-<?php 
+<?php
 require_once('skipif.inc');
-require_once('skipifemb.inc'); 
+require_once('skipifemb.inc');
 require_once('skipifconnectfailure.inc');
 ?>
 --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