mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MW-394
MariaDB adjustments.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user