Fixed valgrind warning: Wrong usage of c_ptr()

This commit is contained in:
Monty 2019-03-31 13:44:43 +03:00
parent 48c6726b13
commit 5b15f68e0f

View file

@ -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))
{