pt-query-digest cannot parse binlogs from 5.6

Bug #1335960 reported by Kenny Gryp on 2014-06-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
Frank Cizmich

Bug Description

The Binlog format in MySQL 5.6 has changed.

It looks something like this now:

#140528 13:25:58 server id 30 end_log_pos 902 CRC32 0x06479cb4 Xid = 27499090796
# at 902

The CRC32 is new.

Attached you can find a simple patch to fix the BinaryLogParser in pt-query-digest. It does not work with 5.5. I just quickly needed --type binlog to work.

Related branches

Kenny Gryp (gryp) wrote :
Changed in percona-toolkit:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Frank Cizmich (frank-cizmich)
milestone: none → 2.2.9
Changed in percona-toolkit:
status: In Progress → Fix Committed
Frank Cizmich (frank-cizmich) wrote :

Basically fixed as in Kenny's patch, except we made the CRC32 part optional in the regexp, so it's backwards compatible.

Changed in percona-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers