mirror of
https://github.com/MariaDB/server.git
synced 2025-04-20 22:25:30 +02:00
MDEV-8590: Fix embedded build failure
This commit is contained in:
parent
cd1a11ace3
commit
840aefc6a3
1 changed files with 5 additions and 0 deletions
|
@ -5590,6 +5590,7 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table)
|
|||
|
||||
return (thd->is_current_stmt_binlog_format_row() &&
|
||||
table->s->cached_row_logging_check &&
|
||||
#ifdef WITH_WSREP
|
||||
/*
|
||||
Wsrep partially enables binary logging if it have not been
|
||||
explicitly turned on. As a result we return 'true' if we are in
|
||||
|
@ -5608,6 +5609,10 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table)
|
|||
((WSREP_EMULATE_BINLOG(thd) && (thd->wsrep_exec_mode != REPL_RECV)) ||
|
||||
((WSREP(thd) || (thd->variables.option_bits & OPTION_BIN_LOG)) &&
|
||||
mysql_bin_log.is_open())));
|
||||
#else
|
||||
(thd->variables.option_bits & OPTION_BIN_LOG) &&
|
||||
mysql_bin_log.is_open());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue