Commit graph

2 commits

Author SHA1 Message Date
unknown
c755a7a1c4 Bug#22877 replication character sets get out of
sync using replicate-wild-ignore-table
Problem: changes in character set variables
before an action on an replication-ignored table
makes slave to forget new variable values.
Fix: initialize one_shot variables only when
4.1 -> 5.x replication is running.


mysql-test/r/rpl_ignore_table.result:
  Adding test case
mysql-test/t/rpl_ignore_table-slave.opt:
  Don't replicate tables with names starting with "tmptbl"
mysql-test/t/rpl_ignore_table.test:
  Adding test case
sql/sql_parse.cc:
  Reset one_shot variables only if we do 4.1->5.x replication.
  In other cases we cannot do that: resetting thd->variables out of sync with
  st_relay_log_info::cached_charset, which makes
  st_relay_log_info::cached_charset_compare() not to notice
  character set related variables changes afterwards.
2006-11-01 12:30:01 +04:00
unknown
a334c72371 BUG#16487: New test for ignored table and multi-update
mysql-test/r/rpl_ignore_table.result:
  New result file
mysql-test/t/rpl_ignore_table-slave.opt:
  New option file
mysql-test/t/rpl_ignore_table.test:
  New test for ignored table and multi-update
2006-01-25 16:14:27 +01:00