| Bug #46110 | --replicate-wild-do-table invalidates --replicate-do-db matching rule | ||
|---|---|---|---|
| Submitted: | 10 Jul 13:21 | Modified: | 25 Aug 17:14 |
| Reporter: | Luís Soares | ||
| Status: | Verified | ||
| Category: | Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.1, 4.1, 5.0, azalea | OS: | Any |
| Assigned to: | Luís Soares | Target Version: | |
| Tags: | rpl filters, replicate-do-db, replicate-wild-do-db | ||
| Triage: | Triaged: D3 (Medium) / R2 (Low) / E2 (Low) | ||
[10 Jul 13:21]
Luís Soares
[10 Jul 14:47]
Sveta Smirnova
Thank you for the report. Verifeid as described. Workaround: don't use replicate-wild-do-table
[25 Aug 13:16]
Mats Kindahl
Could you please add the result of executing SHOW BINLOG EVENTS after execution of the CREATE DATABASE statement?
[25 Aug 17:14]
Sveta Smirnova
Output from version 5.1: stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; CREATE DATABASE dbx; ### ON MASTER ### SHOW DATABASES; Database information_schema dbx mtr mysql test SHOW BINLOG EVENTS; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 4 Format_desc 1 106 Server ver: 5.1.39-debug-log, Binlog ver: 4 master-bin.000001 106 Query 1 187 CREATE DATABASE dbx ### ON SLAVE ### SHOW DATABASES; Database information_schema mtr mysql test SHOW BINLOG EVENTS; Log_name Pos Event_type Server_id End_log_pos Info slave-bin.000001 4 Format_desc 2 106 Server ver: 5.1.39-debug-log, Binlog ver: 4 ### ON MASTER ### DROP DATABASE dbx;
