Commit 4561831b authored by Magnus Svensson's avatar Magnus Svensson

Bug#42588 system_mysql_db_fix30020 fails when run from bin dist with mtr2

 - Properly set --bindir=$path_client_bindir and --basedir=$basedir by adding %s format specifier
parent a07a7afe
...@@ -1528,8 +1528,8 @@ sub mysql_fix_arguments () { ...@@ -1528,8 +1528,8 @@ sub mysql_fix_arguments () {
mtr_init_args(\$args); mtr_init_args(\$args);
mtr_add_arg($args, "--defaults-file=%s", $path_config_file); mtr_add_arg($args, "--defaults-file=%s", $path_config_file);
mtr_add_arg($args, "--basedir=", $basedir); mtr_add_arg($args, "--basedir=%s", $basedir);
mtr_add_arg($args, "--bindir=", $path_client_bindir); mtr_add_arg($args, "--bindir=%s", $path_client_bindir);
mtr_add_arg($args, "--verbose"); mtr_add_arg($args, "--verbose");
return mtr_args2str($exe, @$args); return mtr_args2str($exe, @$args);
} }
......
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