mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
Merge branch '10.1' into 10.2
This commit is contained in:
commit
cb1e76e4de
360 changed files with 40982 additions and 2809 deletions
|
|
@ -555,7 +555,7 @@ int ReplSemiSyncMaster::reportReplyBinlog(uint32 server_id,
|
|||
|
||||
if (need_copy_send_pos)
|
||||
{
|
||||
strcpy(reply_file_name_, log_file_name);
|
||||
strmake_buf(reply_file_name_, log_file_name);
|
||||
reply_file_pos_ = log_file_pos;
|
||||
reply_file_name_inited_ = true;
|
||||
|
||||
|
|
@ -663,7 +663,7 @@ int ReplSemiSyncMaster::commitTrx(const char* trx_wait_binlog_name,
|
|||
if (cmp <= 0)
|
||||
{
|
||||
/* This thd has a lower position, let's update the minimum info. */
|
||||
strcpy(wait_file_name_, trx_wait_binlog_name);
|
||||
strmake_buf(wait_file_name_, trx_wait_binlog_name);
|
||||
wait_file_pos_ = trx_wait_binlog_pos;
|
||||
|
||||
rpl_semi_sync_master_wait_pos_backtraverse++;
|
||||
|
|
@ -674,7 +674,7 @@ int ReplSemiSyncMaster::commitTrx(const char* trx_wait_binlog_name,
|
|||
}
|
||||
else
|
||||
{
|
||||
strcpy(wait_file_name_, trx_wait_binlog_name);
|
||||
strmake_buf(wait_file_name_, trx_wait_binlog_name);
|
||||
wait_file_pos_ = trx_wait_binlog_pos;
|
||||
wait_file_name_inited_ = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue