1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

after-merge fixes

This commit is contained in:
Kristian Nielsen
2015-03-04 14:06:44 +01:00
parent 95d7208859
commit 2e4dc5a370
4 changed files with 5 additions and 6 deletions

View File

@ -1178,7 +1178,7 @@ rpl_binlog_state::load(rpl_slave_state *slave_pos)
mysql_mutex_lock(&LOCK_binlog_state);
reset_nolock();
if (slave_pos->iterate(rpl_binlog_state_load_cb, this, NULL, 0))
if (slave_pos->iterate(rpl_binlog_state_load_cb, this, NULL, 0, false))
res= true;
mysql_mutex_unlock(&LOCK_binlog_state);
return res;

View File

@ -1421,7 +1421,6 @@ void
Relay_log_info::free_inuse_relaylog(inuse_relaylog *ir)
{
my_free(ir->relay_log_state);
my_atomic_rwlock_destroy(&ir->inuse_relaylog_atomic_lock);
my_free(ir);
}

View File

@ -4722,7 +4722,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
ulong domain_count;
flush_relay_log_info(rli);
if (opt_slave_parallel_threads > 0)
if (mi->using_parallel())
{
/*
In parallel replication GTID mode, we may stop with different domains

View File

@ -2335,12 +2335,12 @@ static int send_format_descriptor_event(binlog_send_info *info,
slave connects at a position past this event, it means that it
already received and handled it in a previous connect).
*/
if (!info.gtid_state.is_pos_reached())
if (!info->gtid_state.is_pos_reached())
{
int4store((char*) packet->ptr()+LOG_EVENT_MINIMAL_HEADER_LEN+
ST_CREATED_OFFSET+ev_offset, (ulong) 0);
if (info.current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
info.current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
if (info->current_checksum_alg != BINLOG_CHECKSUM_ALG_OFF &&
info->current_checksum_alg != BINLOG_CHECKSUM_ALG_UNDEF)
fix_checksum(packet, ev_offset);
}
}