merge two the same consistently 'if' clauses into one
we have two the same 'if' clauses that check opt_bin_log argument in mysqld.cc and both clauses go successively one after another. Let's merge them into one
This commit is contained in:
parent
f8bdf4d1ee
commit
afc56a509c
@ -5299,10 +5299,7 @@ static int init_server_components()
|
|||||||
{
|
{
|
||||||
unireg_abort(1);
|
unireg_abort(1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (opt_bin_log)
|
|
||||||
{
|
|
||||||
log_bin_basename=
|
log_bin_basename=
|
||||||
rpl_make_log_name(opt_bin_logname, pidfile_name,
|
rpl_make_log_name(opt_bin_logname, pidfile_name,
|
||||||
opt_bin_logname ? "" : "-bin");
|
opt_bin_logname ? "" : "-bin");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user