mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-4506: Parallel replication: Intermediate commit
Move the deferred event stuff from Relay_log_info to rpl_group_info to make it thread safe for parallel replication.
This commit is contained in:
@ -362,11 +362,11 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
||||
MY_RETURN_REAL_PATH);
|
||||
}
|
||||
|
||||
if (thd->rli_slave)
|
||||
if (thd->rgi_slave)
|
||||
{
|
||||
#if defined(HAVE_REPLICATION) && !defined(MYSQL_CLIENT)
|
||||
if (strncmp(thd->rli_slave->slave_patternload_file, name,
|
||||
thd->rli_slave->slave_patternload_file_size))
|
||||
if (strncmp(thd->rgi_slave->rli->slave_patternload_file, name,
|
||||
thd->rgi_slave->rli->slave_patternload_file_size))
|
||||
{
|
||||
/*
|
||||
LOAD DATA INFILE in the slave SQL Thread can only read from
|
||||
|
Reference in New Issue
Block a user