Bug #34386 | mysqlbinlog --hexdump prints last row of hexdump incorrectly | ||
---|---|---|---|
Submitted: | 7 Feb 2008 17:59 | Modified: | 15 Dec 2011 10:57 |
Reporter: | Sven Sandberg | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.0, 5.1 | OS: | Any |
Assigned to: | Sven Sandberg | CPU Architecture: | Any |
Tags: | hexdump, mysqlbinlog |
[7 Feb 2008 17:59]
Sven Sandberg
[7 Feb 2008 18:02]
Sven Sandberg
The bug is in log_event.cc, member function: void Log_event::print_header(IO_CACHE* file, PRINT_EVENT_INFO* print_event_info, bool is_more)
[12 Feb 2008 15:42]
Susanne Ebrecht
Verified as described
[15 Dec 2011 10:57]
Jon Stephens
Doxumented fix in the 5.6.4 changelog, as follows: mysqlbinlog --hexdump printed the last row of the hex dump incorrectly, in two ways: 1. If the length of the last row was eight bytes, the end of the previous row was copied to the end of the last row, padding the last row to full length. 2. If the length of the last row was less than sixteen bytes, its textual representation was not aligned with that of previous rows. Closed.
[15 Dec 2011 10:57]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html