mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
fix test
This commit is contained in:
parent
87ecd87b6f
commit
93d6c4767b
1 changed files with 8 additions and 0 deletions
|
@ -151,6 +151,11 @@ require_once('skipifconnectfailure.inc');
|
||||||
$mysqli->sqlstate, gettype($mysqli->sqlstate),
|
$mysqli->sqlstate, gettype($mysqli->sqlstate),
|
||||||
mysqli_sqlstate($link), gettype(mysqli_sqlstate($link)));
|
mysqli_sqlstate($link), gettype(mysqli_sqlstate($link)));
|
||||||
|
|
||||||
|
assert(mysqli_stat($link) === $mysqli->stat);
|
||||||
|
printf("mysqli->stat = '%s'/%s ('%s'/%s)\n",
|
||||||
|
$mysqli->stat, gettype($mysqli->stat),
|
||||||
|
mysqli_stat($link), gettype(mysqli_stat($link)));
|
||||||
|
|
||||||
assert(mysqli_get_host_info($link) === $mysqli->host_info);
|
assert(mysqli_get_host_info($link) === $mysqli->host_info);
|
||||||
printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
|
printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
|
||||||
$mysqli->host_info, gettype($mysqli->host_info),
|
$mysqli->host_info, gettype($mysqli->host_info),
|
||||||
|
@ -236,6 +241,7 @@ protocol_version
|
||||||
server_info
|
server_info
|
||||||
server_version
|
server_version
|
||||||
sqlstate
|
sqlstate
|
||||||
|
stat
|
||||||
thread_id
|
thread_id
|
||||||
warning_count
|
warning_count
|
||||||
|
|
||||||
|
@ -254,6 +260,7 @@ info
|
||||||
insert_id
|
insert_id
|
||||||
server_info
|
server_info
|
||||||
server_version
|
server_version
|
||||||
|
stat
|
||||||
sqlstate
|
sqlstate
|
||||||
protocol_version
|
protocol_version
|
||||||
thread_id
|
thread_id
|
||||||
|
@ -269,6 +276,7 @@ mysqli->error_list = 'Array'/array ('Array'/array)
|
||||||
mysqli->field_count = '0'/integer ('0'/integer)
|
mysqli->field_count = '0'/integer ('0'/integer)
|
||||||
mysqli->insert_id = '0'/integer ('0'/integer)
|
mysqli->insert_id = '0'/integer ('0'/integer)
|
||||||
mysqli->sqlstate = '00000'/%unicode|string% ('00000'/%unicode|string%)
|
mysqli->sqlstate = '00000'/%unicode|string% ('00000'/%unicode|string%)
|
||||||
|
mysqli->stat = 'Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: %d Open tables: %d Queries per second avg: %d.%d'/string ('Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: %d Open tables: %d Queries per second avg: %d.%d'/string)
|
||||||
mysqli->host_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
|
mysqli->host_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
|
||||||
mysqli->info = ''/NULL (''/%unicode|string%)
|
mysqli->info = ''/NULL (''/%unicode|string%)
|
||||||
mysqli->thread_id = '%d'/integer ('%d'/integer)
|
mysqli->thread_id = '%d'/integer ('%d'/integer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue