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
This commit is contained in:
Bjorn Munch 2009-10-08 11:23:04 +02:00
parent 0aca4f0011
commit b1b958ffab

View file

@ -4286,7 +4286,8 @@ sub mysqld_start ($$) {
$opt_start_timeout,
$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