LOAD DATA INFILE is not replicated by slave if replicate_*_table is set
This commit is contained in:
parent
41e10e728e
commit
40fbd0fc79
@ -1091,6 +1091,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
|
|||||||
tables.db = thd->db;
|
tables.db = thd->db;
|
||||||
tables.alias= tables.real_name= (char*)lev->table_name;
|
tables.alias= tables.real_name= (char*)lev->table_name;
|
||||||
tables.lock_type = TL_WRITE;
|
tables.lock_type = TL_WRITE;
|
||||||
|
tables.updating= 1;
|
||||||
// the table will be opened in mysql_load
|
// the table will be opened in mysql_load
|
||||||
if(table_rules_on && !tables_ok(thd, &tables))
|
if(table_rules_on && !tables_ok(thd, &tables))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user