mariadb/mysql-test/suite/rpl
Luis Soares bf7d414b40 BUG#11753004: 44360: REPLICATION FAILED
The server crashes if it processes table map events that are
corrupted, especially if they map different tables to the same
identifier. This could happen, for instance, due to BUG 56226.
                  
We fix this by checking whether the table map has already been
mapped before actually applying the event. If it has been mapped
with different settings an error is raised and the slave SQL
thread stops. If it has been mapped with same settings the event
is skipped. If the table is set to be ignored by the filtering
rules, there is no change in behavior: the event is skipped and
ids are not checked.


mysql-test/suite/rpl/t/rpl_row_corruption.test:
  Added a simple test case that checks both cases:
  - multiple table maps with the same identifier
  - multiple table maps with the same identifier, but only one
    is processed (the others are filtered out)
2011-07-14 12:15:24 +01:00
..
include BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
r BUG#11753004: 44360: REPLICATION FAILED 2011-07-14 12:15:24 +01:00
t BUG#11753004: 44360: REPLICATION FAILED 2011-07-14 12:15:24 +01:00
combinations
my.cnf
README
rpl_1slave_base.cnf

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed