mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix to ensure updates in gtid_slave_state table do not get binlogged.
Also, renamed wsrep_skip_append_keys to wsrep_ignore_table. Test case : galera.galera_as_slave_gtid.test
This commit is contained in:
@ -5723,10 +5723,16 @@ static int binlog_log_row(TABLE* table,
|
||||
bool error= 0;
|
||||
THD *const thd= table->in_use;
|
||||
|
||||
/* only InnoDB tables will be replicated through binlog emulation */
|
||||
if (WSREP_EMULATE_BINLOG(thd) &&
|
||||
table->file->partition_ht()->db_type != DB_TYPE_INNODB)
|
||||
#ifdef WITH_WSREP
|
||||
/*
|
||||
Only InnoDB tables will be replicated through binlog emulation. Also
|
||||
updates in mysql.gtid_slave_state table should not be binlogged.
|
||||
*/
|
||||
if ((WSREP_EMULATE_BINLOG(thd) &&
|
||||
table->file->partition_ht()->db_type != DB_TYPE_INNODB) ||
|
||||
(thd->wsrep_ignore_table == true))
|
||||
return 0;
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
if (check_table_binlog_row_based(thd, table))
|
||||
{
|
||||
|
Reference in New Issue
Block a user