Commit 40fbd0fc authored by unknown's avatar unknown

LOAD DATA INFILE is not replicated by slave if replicate_*_table is set

parent 41e10e72
......@@ -1091,6 +1091,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
tables.db = thd->db;
tables.alias= tables.real_name= (char*)lev->table_name;
tables.lock_type = TL_WRITE;
tables.updating= 1;
// the table will be opened in mysql_load
if(table_rules_on && !tables_ok(thd, &tables))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment