mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Update VC++ files
Portability fixes After merge fixes
This commit is contained in:
@@ -1080,8 +1080,9 @@ int change_master(THD* thd, MASTER_INFO* mi)
|
||||
of replication is not 100% clear, so we guard against problems using
|
||||
max().
|
||||
*/
|
||||
mi->master_log_pos = max(BIN_LOG_HEADER_SIZE, mi->rli.master_log_pos);
|
||||
strmake(mi->master_log_name,mi->rli.master_log_name,
|
||||
mi->master_log_pos = max(BIN_LOG_HEADER_SIZE,
|
||||
mi->rli.group_master_log_pos);
|
||||
strmake(mi->master_log_name, mi->rli.group_master_log_name,
|
||||
sizeof(mi->master_log_name)-1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user