Commit 5d7082e1 authored by unknown's avatar unknown

Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB

Windows fixies

parent d138b9a5
......@@ -1957,7 +1957,7 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
{
/* we've got a full event-header, and it came in one piece */
char *log_pos= cache->read_pos + hdr_offs + LOG_POS_OFFSET;
char *log_pos= (char *)cache->read_pos + hdr_offs + LOG_POS_OFFSET;
/* fix end_log_pos */
val= uint4korr(log_pos) + group;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment