Commit b1b958ff authored by Bjorn Munch's avatar Bjorn Munch

Bug #47716 mtr2 prints obscure error when started with -gdb and xterm is missing

Tried to use an expression inside ""
Go via variable, and add $exe to the output
parent 0aca4f00
...@@ -4286,7 +4286,8 @@ sub mysqld_start ($$) { ...@@ -4286,7 +4286,8 @@ sub mysqld_start ($$) {
$opt_start_timeout, $opt_start_timeout,
$mysqld->{'proc'})) $mysqld->{'proc'}))
{ {
mtr_error("Failed to start mysqld $mysqld->name()"); my $mname= $mysqld->name();
mtr_error("Failed to start mysqld $mname with command $exe");
} }
# Remember options used when starting # Remember options used when starting
......
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