1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#15942 (RBR ignored --binlog_ignore_db and tries to map table on slave for writes):

Added code to do the filtering (seems to have gone away).


sql/handler.cc:
  Filtering based on the database for the table.
This commit is contained in:
unknown
2005-12-27 12:06:48 +01:00
parent 2c88b6395b
commit 84e439923f
4 changed files with 80 additions and 2 deletions

View File

@@ -2797,7 +2797,7 @@ bool ha_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat)
- Row-based replication is on
- It is not a temporary table
- The binlog is enabled
- The table shall be binlogged (binlog_*_db rules) [Seems disabled /Matz]
- The table shall be binlogged (binlog_*_db rules)
*/
#ifdef HAVE_ROW_BASED_REPLICATION
@@ -2806,7 +2806,8 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table)
return
binlog_row_based &&
thd && (thd->options & OPTION_BIN_LOG) &&
(table->s->tmp_table == NO_TMP_TABLE);
(table->s->tmp_table == NO_TMP_TABLE) &&
binlog_filter->db_ok(table->s->db.str);
}
template<class RowsEventT> int binlog_log_row(TABLE* table,