Commit a290e0b3 authored by unknown's avatar unknown

WL#3303

- binlog should always run if opt_bin_log is set

parent d3a94951
......@@ -3673,17 +3673,9 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
schema_ndb= s_ndb;
if (opt_bin_log)
{
if (global_system_variables.binlog_format == BINLOG_FORMAT_ROW ||
global_system_variables.binlog_format == BINLOG_FORMAT_MIXED)
{
ndb_binlog_running= TRUE;
}
else
{
sql_print_error("NDB: only row based binary logging is supported");
}
}
/* Thread start up completed */
ndb_binlog_thread_running= 1;
......
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