Bug #59529 Add support for filtering by thread id in mysqlbinlog
Submitted: 16 Jan 2011 5:06 Modified: 1 Mar 2011 9:25
Reporter: Jesper Wisborg Krogh (OCA) Email Updates:
Status: In progress Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:5.5.8 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution, mysqlbinlog

[16 Jan 2011 5:06] Jesper Wisborg Krogh
Description:
When investigation a problem using the content of the binary log, it is often useful to be able to filter the content by thread id in a similar way to how it is possible to filter by server id.

A patch that implement support for filtering by thread id is attached. This patch also includes tests.

To filter the binary log so only events made by thread id 123 run mysqlbinlog with the argument --thread-id=123

The contributor agreement has been signed and emailed (earlier today).

How to repeat:
N/A - is a feature request
[16 Jan 2011 5:07] Jesper Wisborg Krogh
Patch to implement support for filtering the output of mysqlbinlog by thread id

Attachment: threadid.patch (application/octet-stream, text), 9.71 KiB.

[16 Jan 2011 12:51] Valeriy Kravchuk
Thank you for the feature request.