MDEV-14033: wsrep_on=off + binlog = mixed on MariaDB 10.2.9

If wsrep provider (i.e. galera library) is defined but wsrep_on=OFF
we should not force row binlog row format.
This commit is contained in:
Jan Lindström 2019-03-13 11:38:09 +02:00
parent 90ce95de4b
commit 691c306953

View File

@ -9494,7 +9494,7 @@ static int get_options(int *argc_ptr, char ***argv_ptr)
else
global_system_variables.option_bits&= ~OPTION_BIG_SELECTS;
if (!opt_bootstrap && WSREP_PROVIDER_EXISTS &&
if (!opt_bootstrap && WSREP_PROVIDER_EXISTS && WSREP_ON &&
global_system_variables.binlog_format != BINLOG_FORMAT_ROW)
{