mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-27738 Windows : mysql-test-run --extern does not work
Use portable quoting in mtr_add_arg.
This commit is contained in:
@ -1908,7 +1908,7 @@ sub collect_mysqld_features_from_running_server ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
mtr_add_arg($args, "--silent"); # Tab separated output
|
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);
|
my $cmd= "$mysql " . join(' ', @$args);
|
||||||
mtr_verbose("cmd: $cmd");
|
mtr_verbose("cmd: $cmd");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user