diff options
author | unknown <lars@mysql.com> | 2004-11-15 17:03:54 +0100 |
---|---|---|
committer | unknown <lars@mysql.com> | 2004-11-15 17:03:54 +0100 |
commit | 4cc3ea9b728d6e50359abc9a282947b338ae411e (patch) | |
tree | 9cabe4ed38a9aa909b2016e45e2488b4066b8558 /sql/log_event.h | |
parent | 166671ccac00134b80a76833879b15290905539e (diff) | |
download | mariadb-git-4cc3ea9b728d6e50359abc9a282947b338ae411e.tar.gz |
BUG#6353 V2:
Replication using replicate-rewrite-db did not work for LOAD DATA INFILE.
Now is does. There was one place in the code that used current database
instead of the rewrite database.
mysql-test/r/rpl_rewrite_db.result:
New tests
mysql-test/t/rpl_rewrite_db-slave.opt:
New tests
mysql-test/t/rpl_rewrite_db.test:
New tests
sql/log_event.cc:
Added db to set_fields function so that current db is used.
sql/log_event.h:
Added db to set_fields function so that current db is used.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 8070c334d8b..1606659e21e 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -587,7 +587,7 @@ public: const char* table_name_arg, List<Item>& fields_arg, enum enum_duplicates handle_dup, bool using_trans); - void set_fields(List<Item> &fields_arg); + void set_fields(const char* db, List<Item> &fields_arg); const char* get_db() { return db; } #ifdef HAVE_REPLICATION void pack_info(Protocol* protocol); |