1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #18607: LOAD DATA FROM MASTER fails because of INFORMATION_SCHEMA database

Simply exclude INFORMATION_SCHEMA from LOAD DATA FROM MASTER just like
  we exclude the `mysql` database.

  There's no test for this, because it requires an unfiltered 'LOAD DATA
  FROM MASTER' which is too likely to cause chaos (such as when running
  the test suite against an external server).
This commit is contained in:
jimw@mysql.com
2006-04-21 18:26:39 -07:00
parent 4b21910b0d
commit 99b2d44c9c

View File

@ -860,7 +860,8 @@ bool load_master_data(THD* thd)
if (!db_ok(db, replicate_do_db, replicate_ignore_db) ||
!db_ok_with_wild_table(db) ||
!strcmp(db,"mysql"))
!strcmp(db,"mysql") ||
is_schema_db(db))
{
*cur_table_res = 0;
continue;