Commit 63891d63 authored by Magnus Svensson's avatar Magnus Svensson

Bug#40193 mtr --record is currently broken in 5.1-rpl and 6.0-rpl

parent 754ee263
...@@ -4397,8 +4397,12 @@ sub start_mysqltest ($) { ...@@ -4397,8 +4397,12 @@ sub start_mysqltest ($) {
{ {
mtr_add_arg($args, "--record"); mtr_add_arg($args, "--record");
# When recording to a non existing result file
# the name of that file is in "record_file"
if ( defined $tinfo->{'record_file'} ) {
mtr_add_arg($args, "--result-file=%s", $tinfo->{record_file}); mtr_add_arg($args, "--result-file=%s", $tinfo->{record_file});
} }
}
if ( $opt_client_gdb ) if ( $opt_client_gdb )
{ {
......
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