Skip to content
Permalink
Browse files
Fixed valgrind warning: Wrong usage of c_ptr()
  • Loading branch information
montywi committed Apr 1, 2019
1 parent 48c6726 commit 5b15f68
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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))
{

0 comments on commit 5b15f68

Please sign in to comment.