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:
Alexander Kuleshov 2018-02-17 00:11:45 +06:00 committed by Sergey Vojtovich
parent f8bdf4d1ee
commit afc56a509c

View File

@ -5299,10 +5299,7 @@ static int init_server_components()
{
unireg_abort(1);
}
}
if (opt_bin_log)
{
log_bin_basename=
rpl_make_log_name(opt_bin_logname, pidfile_name,
opt_bin_logname ? "" : "-bin");