Commit 224ae577 authored by sjaakola's avatar sjaakola Committed by Jan Lindström

Refs: MW-363 * enabling binlog file copying even for binlog files with...

Refs: MW-363 * enabling binlog file copying even for binlog files with basename "0" * mtr suite uses binlog files with names: 0.000001, 0.000002.. and so on
parent 7ee47ef4
...@@ -364,8 +364,7 @@ static int generate_binlog_opt_val(char** ret) ...@@ -364,8 +364,7 @@ static int generate_binlog_opt_val(char** ret)
if (opt_bin_log) if (opt_bin_log)
{ {
assert(opt_bin_logname); assert(opt_bin_logname);
*ret= strcmp(opt_bin_logname, "0") ? *ret= my_strdup(opt_bin_logname, MYF(0));
my_strdup(opt_bin_logname, MYF(0)) : my_strdup("", MYF(0));
} }
else else
{ {
......
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