mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.0-galera into 10.1
This commit is contained in:
@@ -6451,6 +6451,14 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
|
||||
The MYSQL_LOG::write() function will set the STMT_END_F flag and
|
||||
flush the pending rows event if necessary.
|
||||
*/
|
||||
/*
|
||||
Even though wsrep only supports ROW binary log format, a user can set
|
||||
binlog format to STATEMENT (wsrep_forced_binlog_format). In which case
|
||||
the control might reach here even when binary logging (--log-bin) is
|
||||
not enabled. This is possible because wsrep patch partially enables
|
||||
binary logging by setting wsrep_emulate_binlog.
|
||||
*/
|
||||
if (mysql_bin_log.is_open())
|
||||
{
|
||||
Query_log_event qinfo(this, query_arg, query_len, is_trans, direct,
|
||||
suppress_use, errcode);
|
||||
|
Reference in New Issue
Block a user