Bug #70263 mysqlbinlog: Please add a --table option like --database
Submitted: 6 Sep 2013 14:32 Modified: 14 Jan 2014 17:44
Reporter: Simon Mudd (OCA) Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Replication Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[6 Sep 2013 14:32] Simon Mudd
We process binlogs for various internal reasons and want to filter the output based on certain table names.  It's currently possible to filter on a particular database but not a particular set of tables.

This functionality is useful to us.

I can provide a patch which we are using to this end.

How to repeat:
Run the script now and it doesn't provide the option.
Patch the mysqlbinlog source with the script that I provide and you can.

Suggested fix:
Apply the patch and adjust as needed.
[6 Sep 2013 14:34] Simon Mudd
Patch to add --tables option

Attachment: filter_tables.patch (application/octet-stream, text), 2.82 KiB.

[14 Jan 2014 17:44] Sveta Smirnova
Thank you for the feature request and the patch.

In order for us to accept the patch you need to sign Oracle Contributor Agreement (OCA) as described in the "Contributions" section of this bug report.
[26 Sep 2017 12:14] MySQL Verification Team
Bug #87843 marked as duplicate of this one
[27 Sep 2017 1:51] Sheeri Cabral
Plus one to this. Is a patch in progress?