We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721a6a5 commit 58c7f63Copy full SHA for 58c7f63
client/mysqltest.cc
@@ -5199,7 +5199,11 @@ void do_shutdown_server(struct st_command *command)
5199
*/
5200
5201
if (timeout && mysql_shutdown(mysql, SHUTDOWN_DEFAULT))
5202
- die("mysql_shutdown failed");
+ {
5203
+ handle_error(command, mysql_errno(mysql), mysql_error(mysql),
5204
+ mysql_sqlstate(mysql), &ds_res);
5205
+ DBUG_VOID_RETURN;
5206
+ }
5207
5208
if (!timeout || wait_until_dead(pid, timeout))
5209
{
@@ -8191,7 +8195,7 @@ static int match_expected_error(struct st_command *command,
8191
8195
8192
8196
SYNOPSIS
8193
8197
handle_error()
8194
- q - query context
8198
+ command - command
8199
err_errno - error number
8200
err_error - error message
8201
err_sqlstate - sql state
0 commit comments