1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
MariaDB adjustments.
This commit is contained in:
Jan Lindström
2017-11-08 13:55:09 +02:00
parent 7cedebb99b
commit e5e33db5fb

View File

@ -4772,11 +4772,11 @@ extern "C" int thd_binlog_format(const MYSQL_THD thd)
if (WSREP(thd))
{
/* 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 */
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
return BINLOG_FORMAT_UNSPEC;
}