Commit dbc024de authored by serg@serg.mylan's avatar serg@serg.mylan

compatibility fix (bug#3606)

parent b89e5bbc
...@@ -3531,7 +3531,7 @@ static int queue_old_event(MASTER_INFO *mi, const char *buf, ...@@ -3531,7 +3531,7 @@ static int queue_old_event(MASTER_INFO *mi, const char *buf,
*/ */
tmp_buf[event_len++]=0; tmp_buf[event_len++]=0;
buf = (const char*)tmp_buf; buf = (const char*)tmp_buf;
int4store(buf+EVENT_LEN_OFFSET, event_len); int4store(tmp_buf+EVENT_LEN_OFFSET, event_len);
} }
/* /*
This will transform LOAD_EVENT into CREATE_FILE_EVENT, ask the master to This will transform LOAD_EVENT into CREATE_FILE_EVENT, ask the master to
......
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