diff options
author | monty@narttu.mysql.fi <> | 2003-02-28 19:50:05 +0200 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-02-28 19:50:05 +0200 |
commit | 7eccd99e54d12aa558241574643e764ac9921a2c (patch) | |
tree | e798fdaca1745b2a1de98b5a4afdeb64064e7cd1 | |
parent | 92865525672f72a8ec65a7cd6aa6c9056c0e31b7 (diff) | |
download | mariadb-git-7eccd99e54d12aa558241574643e764ac9921a2c.tar.gz |
LOAD DATA INFILE is not replicated by slave if replicate_*_table is set
-rw-r--r-- | sql/slave.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 0bbf9bf227d..a1972dc5a5d 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -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)) { |