Commit 5b15f68e authored by Monty's avatar Monty

Fixed valgrind warning: Wrong usage of c_ptr()

parent 48c6726b
......@@ -1950,7 +1950,7 @@ send_event_to_slave(binlog_send_info *info, Log_event_type event_type,
pos= my_b_tell(log);
if (repl_semisync_master.update_sync_header(info->thd,
(uchar*) packet->c_ptr(),
(uchar*) packet->ptr(),
info->log_file_name + info->dirlen,
pos, &need_sync))
{
......
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