Commit ae33a006 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-27738 Windows : mysql-test-run --extern does not work

Use portable quoting in mtr_add_arg.
parent 21413aee
......@@ -1908,7 +1908,7 @@ sub collect_mysqld_features_from_running_server ()
}
mtr_add_arg($args, "--silent"); # Tab separated output
mtr_add_arg($args, "-e '%s'", "use mysql; SHOW VARIABLES");
mtr_add_arg($args, "-e \"use mysql; SHOW VARIABLES\"");
my $cmd= "$mysql " . join(' ', @$args);
mtr_verbose("cmd: $cmd");
......
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