Commit dc4c35fd authored by Michael Widenius's avatar Michael Widenius

Added missing prefix to options that caused --embedded to fail

parent 7f91cf08
......@@ -4008,11 +4008,11 @@ sub mysqld_arguments ($$$$) {
my $log_base_path= "$opt_vardir/log/$mysqld->{'type'}$sidx";
mtr_add_arg($args, "%s--general-log-file=%s.log",
$prefix, $log_base_path);
mtr_add_arg($args, "--general-log");
mtr_add_arg($args, "%s--general-log", $prefix);
mtr_add_arg($args,
"%s--slow-query-log-file=%s-slow.log",
$prefix, $log_base_path);
mtr_add_arg($args, "--slow-query-log");
mtr_add_arg($args, "%s--slow-query-log", $prefix);
# Check if "extra_opt" contains --skip-log-bin
my $skip_binlog= grep(/^--skip-log-bin/, @$extra_opt, @opt_extra_mysqld_opt);
......
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