Commit e5e33db5 authored by Jan Lindström's avatar Jan Lindström

MW-394

MariaDB adjustments.
parent 7cedebb9
...@@ -4772,11 +4772,11 @@ extern "C" int thd_binlog_format(const MYSQL_THD thd) ...@@ -4772,11 +4772,11 @@ extern "C" int thd_binlog_format(const MYSQL_THD thd)
if (WSREP(thd)) if (WSREP(thd))
{ {
/* for wsrep binlog format is meaningful also when binlogging is off */ /* for wsrep binlog format is meaningful also when binlogging is off */
return (int) WSREP_BINLOG_FORMAT(thd->variables.binlog_format); return (int) WSREP_FORMAT(thd->variables.binlog_format);
} }
#endif /* WITH_WSREP */ #endif /* WITH_WSREP */
if (mysql_bin_log.is_open() && (thd->variables.option_bits & OPTION_BIN_LOG)) if (mysql_bin_log.is_open() && (thd->variables.option_bits & OPTION_BIN_LOG))
return (int) WSREP_FORMAT(thd->variables.binlog_format); return (int) thd->variables.binlog_format;
else else
return BINLOG_FORMAT_UNSPEC; return BINLOG_FORMAT_UNSPEC;
} }
......
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