[MDEV-8175] binlog-do-db bypassed by 'create table' DDL Created: 2015-05-18 Updated: 2022-09-08 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0.19, 5.1.73, 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5, 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Carol | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream-wontfix | ||
| Attachments: |
|
| Sprint: | 5.5.48-0 |
| Description |
|
my.cnf (full file attached)
Test case:
Relevant entries in binlog (full file attached)
Even though test_db3 is not included in binlog-do-db options, 'create table test_db3.t(i int)' is logged. TIA |
| Comments |
| Comment by Elena Stepanova [ 2015-05-18 ] |
|
Thanks for the report. It is most likely a change in behavior introduced by the upstream fix for MySQL#60188. The bug was about binlog-ignore-db option, but apparently the fix affected binlog-do-db as well. I don't know if it was intentional, but I doubt that since the current behavior is weird. At the very least, it does not seem to correspond the description of binlog-do-db in the MySQL manual. For upstream bugs, our normal routine is to report them at bugs.mysql.com, see how they are handled there, and then take actions accordingly. carolmazoy, |
| Comment by Elena Stepanova [ 2015-10-21 ] |
|
Meanwhile, somebody has already reported it upstream: https://bugs.mysql.com/bug.php?id=77673 |
| Comment by Daniel Black [ 2018-01-01 ] |
|
Upstream updated documentation to map to exhibited behaviour. |