Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/mysqli/tests/mysqli_stmt_get_result.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ require_once 'skipifconnectfailure.inc';
mysqli_free_result($result);

$link->real_query('KILL '.mysqli_thread_id($link));
// We kill our own connection so we should get "Query execution was interrupted"
if ($link->errno !== 1317)
// We kill our own connection so we should get "Query execution was interrupted" or "Connection was killed"
if ($link->errno !== 1317 && $link->errno !== 1927)
printf("[042] [%d] %s\n", mysqli_errno($link), mysqli_error($link));

if (false !== ($tmp = mysqli_stmt_get_result($stmt)))
Expand Down
6 changes: 3 additions & 3 deletions ext/mysqli/tests/mysqli_thread_id.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ require_once 'skipifconnectfailure.inc';

// should work if the thread id is correct
$link->real_query('KILL '.mysqli_thread_id($link));
// We kill our own connection so we should get "Query execution was interrupted"
if ($link->errno !== 1317)
// We kill our own connection so we should get "Query execution was interrupted" or "Connection was killed"
if ($link->errno !== 1317 && $link->errno !== 1927)
printf("[042] [%d] %s\n", mysqli_errno($link), mysqli_error($link));

mysqli_close($link);

try {
Expand Down
Loading