• unknown's avatar
    Bug#24478 DROP TRIGGER is not caught by replicate-*-table filters · 7d883c0d
    unknown authored
    Problem: DROP TRIGGER was not properly handled in combination
    with slave filters, which made replication stop
    Fix: loading table name before checking slave filters when
    dropping a trigger.
    
    
    mysql-test/r/rpl_replicate_do.result:
      Adding test case
    mysql-test/t/rpl_replicate_do.test:
      Adding test case
    sql/sql_parse.cc:
      Loading table name when dropping a trigger
      before checking slave filtering rules.
    sql/sql_trigger.cc:
      Making add_table_for_trigger() public
    sql/sql_trigger.h:
      Making add_table_for_trigger() public
    7d883c0d
rpl_replicate_do.test 2.11 KB