Commit 0c7bfb8a authored by Magnus Svensson's avatar Magnus Svensson

Bug#43361 msyql_client_test output lost

 - Print the output(if any) from the command that failed, in many 
   cases this will make it possible to immediately see what went wrong.
parent 334f53a1
......@@ -2653,7 +2653,8 @@ void do_exec(struct st_command *command)
log_msg("exec of '%s' failed, error: %d, status: %d, errno: %d",
ds_cmd.str, error, status, errno);
dynstr_free(&ds_cmd);
die("command \"%s\" failed", command->first_argument);
die("command \"%s\" failed\n\nOutput from before failure:\n%s\n",
command->first_argument, ds_res.str);
}
DBUG_PRINT("info",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment