mariadb/mysql-test/r
unknown 69b8b3ff7c * Fix for BUG#1248: "LOAD DATA FROM MASTER drops the slave's db unexpectedly".
Now LOAD DATA FROM MASTER does not drop the database, instead it only tries to
create it, and drops/creates table-by-table.
* replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.


mysql-test/r/rpl000009.result:
  result update
mysql-test/t/rpl000009.test:
  test that LOAD DATA FROM MASTER does not drop databases,
  but rather table by table, thus preserving non-replicated tables.
  Test that LOAD DATA FROM MASTER reports the error when a table could not
  be dropped (system's "permission denied" for example).
  Test that LOAD TABLE FROM MASTER reports the error when the table already exists.
sql/repl_failsafe.cc:
  * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
  database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
  * If a db matches replicate_*_db rules, we don't drop/recreate it because this
  could drop some tables in this db which could be slave-specific. Instead,
  we do a CREATE DATABASE IF EXISTS, and we will drop each table which has
  an equivalent on the master, table-by-table.
sql/slave.cc:
  New argument to drop the table in create_table_from_dump() 
  (LOAD TABLE/DATA FROM MASTER are the only places where this function is used).
  This is needed because LOAD DATA FROM MASTER does not drop the database anymore.
  The behaviour when the table exists is unchanged: LOAD DATA silently replaces
  the table, LOAD TABLE gives error.
sql/slave.h:
  new argument to drop the table in fetch_master_table
sql/sql_parse.cc:
  do not drop the table in LOAD TABLE FROM MASTER (this behaviour is already
  true; but changes in LOAD DATA FROM MASTER made the argument needed).
2003-09-11 23:17:28 +02:00
..
alias.result Proposed fix for #751 2003-07-03 20:57:51 +05:00
alter_table.result Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS 2003-07-08 23:58:04 +03:00
analyse.result test result updated after merge 2003-03-13 14:34:07 +01:00
ansi.result Fixed problem with ansi mode and GROUP BY with constants. (Bug #387) 2003-05-13 19:26:07 +03:00
auto_increment.result fix auto-increment in sub-key and insert ... select 2003-03-02 01:48:57 +01:00
backup.result after merge fixes 2003-03-10 13:54:20 +02:00
bdb-alter-table-1.result Some trivial optimzations 2002-09-03 15:44:25 +03:00
bdb-alter-table-2.result Some trivial optimzations 2002-09-03 15:44:25 +03:00
bdb-crash.result Changed some tests to pass with new auto_increment handling, 2003-03-22 20:34:20 +02:00
bdb-deadlock.result Patch for SCO 2001-11-26 03:52:23 +02:00
bdb.result Fix for the bug #971: ORDER BY DESC doesn't return correct num of rows with BDB and an indexed column. 2003-09-02 21:09:28 +05:00
bdb_cache.result fixed bdb transaction with query cache bug 2002-11-06 00:41:25 +02:00
bench_count_distinct.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
big_test.require Fixed bug when sorting big files (introduced with multi-table-delete) 2001-06-25 11:35:22 +03:00
bigint.result Integer values between 9223372036854775807 and 9999999999999999999 are now 2003-02-27 02:10:19 +02:00
binary.result bug tests added 2003-02-03 09:17:47 +01:00
bool.result Added tests for boolean operators in select part 2002-11-18 13:41:07 +02:00
bulk_replace.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
case.result Test cleanup 2002-12-26 15:55:22 +02:00
cast.result Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER 2002-11-24 15:47:19 +02:00
check.result mi_check flags cleanup 2002-03-13 17:20:17 +00:00
check_var_limit.require Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
comments.result Fix after merge from 3.23 2002-02-15 02:49:02 +02:00
compare.result Added --skip-safemalloc to mysqltest 2002-10-29 22:56:30 +02:00
constraints.result Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER 2002-11-24 15:47:19 +02:00
convert.result SET CHARACTER SET DEFAULT didn't work (Bug #462) 2003-06-29 12:58:43 +03:00
count_distinct.result count(distint) on an empty table crash fixed 2003-02-10 12:01:47 +01:00
count_distinct2.result Cleanup after last merge 2001-10-08 07:24:04 +03:00
create.result Fix for the bug #801: create table t1 select x'41'; doesn't work 2003-07-11 14:17:18 +05:00
ctype_cp1251.result Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
ctype_latin1_de.result my_strnncoll_latin1_de rewritten from scratch. Bug with overlapping combos went away. 2003-07-17 20:17:46 +02:00
ctype_ujis.result Fix for -fbranch-probabilites (bug 268) 2003-04-26 20:43:28 +03:00
delayed.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
delete.result result updated 2003-05-04 11:00:45 +02:00
dirty_close.result Added --user=userid to mysqld 2002-02-13 22:37:19 +02:00
distinct.result missing test case for DISTINCT .. LEFT .. 2003-07-05 16:29:11 +03:00
drop.result Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
empty_table.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
errors.result Small fixes (nothing nameworthy) 2003-06-01 23:40:01 +03:00
explain.result Fix problem in MIN/MAX optimisation (from last patch) 2003-02-07 17:57:07 +02:00
flush.result Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
foreign_key.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
fulltext.result bug #942. docid == ftb->lastpos in join on looping over nested table 2003-07-31 13:45:35 +02:00
fulltext_cache.result ft boolean search by table scan; queue_fix() 2001-11-06 16:17:31 +01:00
fulltext_distinct.result tests added 2001-11-20 17:58:00 +01:00
fulltext_left_join.result fulltext and left join bug fixed 2003-06-16 23:05:45 +02:00
fulltext_multi.result mysql-test/r/fulltext*.result updated 2001-10-12 19:10:11 +02:00
fulltext_order_by.result ft-boolean + ORDER BY (ftb tree reusing) bug 2002-09-17 21:04:10 +02:00
fulltext_update.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
fulltext_var.result fixes for SHOW VARIABLES and --ft-stopword-list 2003-01-27 12:12:12 +01:00
func_concat.result Fixes for gcc 3.1 2002-05-21 20:35:58 +03:00
func_crypt.result Fix problem in MIN/MAX optimisation (from last patch) 2003-02-07 17:57:07 +02:00
func_date_add.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
func_encrypt.result Added FLUSH DES_KEY_FILE. 2001-12-13 15:53:18 +02:00
func_equal.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
func_group.result Fixed bug in SUM() with NULL:s 2003-04-15 22:04:16 +03:00
func_if.result Fixes after last merge 2002-08-12 07:02:08 +03:00
func_in.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
func_isnull.result Fixed some compilation problems in last changeset 2002-05-16 23:35:09 +03:00
func_like.result optimizer should check for "field LIKE const" not "field like STRING" 2003-03-02 14:07:32 +01:00
func_math.result do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(), 2003-01-28 00:55:41 +01:00
func_misc.result Testcase for #628 2003-07-03 16:48:47 +05:00
func_op.result New error messages 2002-01-29 18:32:16 +02:00
func_regexp.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
func_set.result backport fix for the bug #803: INTERVAL(NULL, ....) 2003-07-14 12:39:10 +05:00
func_str.result Fix for #739 2003-07-03 23:24:23 +05:00
func_system.result Cleanup after last merge 2001-10-08 07:24:04 +03:00
func_test.result After merge fixes 2003-08-22 18:43:46 +03:00
func_time.result SCRUM 2003-06-19 14:02:19 +05:00
func_timestamp.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
gcc296.result Update copyright 2001-12-06 14:10:51 +02:00
grant.result Cleaned up last bug fixes 2003-09-09 20:06:50 +03:00
grant_cache.result Cleaner implementation if INSERT ... SELECT with same tables 2003-07-03 11:55:36 +03:00
group_by.result Test case for bug #807 2003-07-09 22:33:26 +03:00
handler.result fix and test case for the bug #787: HANDLER without INDEX doesn't work with deleted rows 2003-07-04 17:15:16 +05:00
have_bdb.require Extended mysqltest with --commands and 'require' 2000-12-27 03:31:06 +02:00
have_crypt.require Fixes for Netware 2003-01-28 08:38:28 +02:00
have_innodb.require Changed Innobase to Innodb 2001-04-13 12:25:12 +03:00
have_isam.require Extended mysqltest with --commands and 'require' 2000-12-27 03:31:06 +02:00
have_mest_timezone.require Fixed problem with mysql prompt when server disconnect. (Bug 356) 2003-05-27 16:40:14 +03:00
have_openssl.require changes to make things work in the max version 2001-10-04 15:42:25 -06:00
have_openssl_1.require Openssl test 2003-03-11 13:41:53 +04:00
have_query_cache.require added building without query cache 2002-03-22 22:55:08 +02:00
have_raid.require Added support for hex strings to mysqlimport 2000-12-28 03:56:38 +02:00
have_symlink.require Symlinking of tables should not work. 2001-06-05 03:38:10 +03:00
having.result Safety fix to enable RAID in max binaries 2003-05-13 10:54:07 +03:00
heap.result Fix and test-case for the bug #775: SELECT misses rows in indexed HEAP table columns. 2003-07-03 18:21:59 +05:00
innodb-deadlock.result Updated results after merge from 3.23 2002-11-24 21:39:22 +02:00
innodb.result Merge bk-internal.mysql.com:/home/bk/mysql-4.0 2003-07-03 11:56:30 +03:00
innodb_cache.result fixed invalidation of query cache 2002-11-22 00:33:15 +02:00
innodb_handler.result Three bug fixes and one fix being undone. 2003-04-19 23:18:35 +03:00
ins000001.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
insert.result Optimized old patches 2003-07-01 14:38:38 +03:00
insert_select.result Fixed memory overrun when doing REPAIR on table with multi-part auto_increment key where one part was a packed CHAR 2003-07-18 04:04:24 +03:00
isam.result post-merge fixes 2003-08-28 13:14:54 +02:00
join.result Added thread variable max_seeks_for_key 2003-06-27 03:04:54 +03:00
join_crash.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
join_outer.result Code/testcase cleanups 2003-07-01 13:29:55 +03:00
key.result Fix of bug 390: primary key now implies (silently) NOT NULL for key fields. 2003-05-13 19:16:30 +02:00
key_diff.result Added thread variable max_seeks_for_key 2003-06-27 03:04:54 +03:00
key_primary.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
keywords.result merge of lost change 2001-10-24 11:52:19 -06:00
kill.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
limit.result Fix some bugs introduced with the new my_getopt 2002-02-08 03:21:34 +02:00
loaddata.result Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
lock.result Cleanup after last merge 2001-10-08 07:24:04 +03:00
lock_multi.result Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table that was locked bug not droped 2003-03-04 12:22:35 +02:00
lock_tables_lost_commit.result Test for bug 578. And a comment in slave.cc. 2003-06-05 17:02:00 +02:00
lowercase_table.result Revert change of lower-case-table handling as this breaks how alias works. 2003-08-29 04:17:30 +03:00
merge.result merge + order by (bug #515) temporary fix 2003-07-04 14:42:57 +02:00
mix_innodb_myisam_binlog.result Cleaned up last bug fixes 2003-09-09 20:06:50 +03:00
multi_update.result item_func.h: 2003-08-20 15:33:21 +03:00
myisam.result Fixed rare bug in MYISAM introduced in 4.0.3 where the index file header was not updated directly after an UPDATE of split dynamic rows. 2003-09-05 06:42:55 +03:00
not_embedded.require Updated manual about embedded version. 2001-10-08 04:58:07 +03:00
null.result Guard against compiling without -fno-exceptions 2003-01-14 11:27:26 +02:00
null_key.result Fixes for valgrind 2003-04-23 21:52:16 +03:00
odbc.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
olap.result Added nety_retry_count as a changeable variable 2002-08-08 20:49:06 +03:00
openssl_1.result openssl_1.result, openssl_1.test: 2003-08-07 15:20:15 +02:00
openssl_2.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
order_by.result Fixed 'Unknown error' when doing ORDER BY on reference table which 2003-06-29 21:15:51 +03:00
order_fill_sortbuf.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
overflow.result fixed error messages 2001-10-08 20:18:37 -06:00
packet.result Fixed some varnings from valgrind 2003-08-20 16:25:44 +03:00
query_cache.result Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
query_cache_merge.result Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
raid.result Fixed a bug in DROP DATABASE when database had a RAID type table. 2003-05-13 22:28:34 +03:00
range.result bug #1172 - crash on force index() and SEL_ARG::MAYBE_KEY 2003-09-03 22:27:04 +02:00
rename.result Cleanup after last merge 2001-10-08 07:24:04 +03:00
repair.result Fix for MacOSX and symlinks 2003-05-14 01:27:26 +03:00
repair_part2.result Fix for MacOSX and symlinks 2003-05-14 01:27:26 +03:00
replace.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
rollback.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
rpl000001.a.result Extended mysqltest with --commands and 'require' 2000-12-27 03:31:06 +02:00
rpl000001.b.result Extended mysqltest with --commands and 'require' 2000-12-27 03:31:06 +02:00
rpl000001.result Replication: small bug fixes in mysql-test-run.sh and in replication code (more reinitializations) 2003-03-03 14:57:02 +01:00
rpl000002.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000003.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000004.a.result Cleanup of tests to make them less dependent of eachother 2001-01-03 02:15:48 +02:00
rpl000004.b.result Extended mysqltest with --commands and 'require' 2000-12-27 03:31:06 +02:00
rpl000004.result Fixed multi-table-delete for InnoDB tables 2003-02-17 02:14:37 +02:00
rpl000005.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000006.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000008.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000009.result * Fix for BUG#1248: "LOAD DATA FROM MASTER drops the slave's db unexpectedly". 2003-09-11 23:17:28 +02:00
rpl000010.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000011.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000012.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000013.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl000015.result Fixed timing problem with rpl000001 replication test. 2002-08-18 16:04:26 +03:00
rpl000017.result Added the following new privleges: 2002-06-12 15:04:18 +03:00
rpl000018.result More error messages. This is intended to help debugging; presently I have a 2003-06-10 23:29:49 +02:00
rpl_alter.result Fixed problem when comparing a key for a multi-byte-character set. (bug 152) 2003-04-27 22:12:08 +03:00
rpl_do_grant.result Fix so that SET PASSWORD is not replicated by the slave if running with 2003-08-02 23:46:26 +02:00
rpl_empty_master_crash.result Use our version of RWLOCKS on UNIXWARE 7 2002-08-21 22:04:22 +03:00
rpl_error_ignored_table.result - fixed an error in the rpl_error_ignored_table test suite: the master 2003-07-11 22:18:53 +02:00
rpl_failsafe.result RESET SLAVE and CHANGE MASTER will now give an error if slave is running. 2002-12-13 12:05:24 +02:00
rpl_flush_log_loop.result Safety and speedup fixes: 2003-07-14 10:12:05 +03:00
rpl_get_lock.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl_ignore_grant.result Fix so that SET PASSWORD is not replicated by the slave if running with 2003-08-02 23:46:26 +02:00
rpl_insert_id.result Make rpl_insert_id.test use InnoDB, and added foreign keys to the table, 2003-07-26 17:59:05 +02:00
rpl_loaddata.result 2 minor edits, plus 2003-08-22 15:39:24 +02:00
rpl_loaddata_rule_m.result First commit for fixing BUG#1100 2003-08-20 23:24:45 +02:00
rpl_loaddata_rule_s.result First commit for fixing BUG#1100 2003-08-20 23:24:45 +02:00
rpl_loaddatalocal.result ChangeSet 1.1625 was faulty as regards sql/mf_iocache.cc and LOAD DATA LOCAL replication tests 2003-03-02 18:20:32 +01:00
rpl_log.result Result updates after Dmitri's and my changes to logging with --log-slave-updates. 2003-08-21 00:23:39 +02:00
rpl_log_pos.result I committed the same changeset in my tree yesterday, but broke the tree since, 2003-07-03 01:08:36 +02:00
rpl_master_pos_wait.result Fix for nightly build test failure (test update). 2003-06-16 15:49:54 +02:00
rpl_max_relay_size.result Added missing --replace_result for ports in SHOW SLAVE STATUS. 2003-07-14 22:02:26 +02:00
rpl_mystery22.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl_redirect.result Portability fixes. 2002-09-11 06:40:08 +03:00
rpl_relayspace.result Simplified a test. 2003-06-15 12:01:51 +02:00
rpl_replicate_do.result Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
rpl_reset_slave.result 2 bugfixes: 2003-08-04 10:59:44 +02:00
rpl_rotate_logs.result WL#912 (more user control on relay logs): 2003-07-06 17:59:54 +02:00
rpl_skip_error.result Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rpl_sporadic_master.result Fixed bug in wait_for_update() that I had introduced. 2002-08-22 16:50:58 +03:00
sel000001.result Proposed bugfix for #717 2003-07-03 10:42:13 +05:00
sel000002.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
sel000003.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
sel000031.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
sel000032.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
sel000033.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
sel000100.result Testcase for #674 added 2003-06-25 17:15:33 +05:00
select.result outer join, impossible on condition, where, and usable key for range 2003-07-25 14:32:03 +02:00
select_found.result do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(), 2003-01-28 00:55:41 +01:00
select_safe.result Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
show_check.result Add column names for metadata when running mysql with -T 2003-08-27 10:26:03 +03:00
slave-running.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
slave-stopped.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
status.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
symlink.result Better fix for myisamchk --sort-index on windows 2003-08-25 17:19:44 +03:00
tablelock.result Cleanup after last merge 2001-10-08 07:24:04 +03:00
temp_table.result Copy arguments given to mysql_server_init() 2002-12-05 16:38:49 +02:00
timezone.result Fixed problem with mysql prompt when server disconnect. (Bug 356) 2003-05-27 16:40:14 +03:00
truncate.result truncate test made independed from environment 2002-08-30 18:39:42 +03:00
type_blob.result Changed some tests to pass with new auto_increment handling, 2003-03-22 20:34:20 +02:00
type_date.result Bug #792 combination of date-interval and between with mixed constant and non-constant 2003-08-06 15:37:22 +02:00
type_datetime.result bug #504: in "datetime op int" comparison int wasn't converted to datetime 2003-07-02 17:12:50 +02:00
type_decimal.result Fixed bug in CREATE ... DECIMAL(-1,1). Bug #432 2003-05-14 22:12:55 +03:00
type_enum.result fixed tests after merge 2002-05-28 10:21:56 +03:00
type_float.result Fixed some compilation problems in last changeset 2002-05-16 23:35:09 +03:00
type_ranges.result Changed some tests to pass with new auto_increment handling, 2003-03-22 20:34:20 +02:00
type_set.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
type_time.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
type_timestamp.result disable partial timestamps in --new mode 2003-03-06 10:54:27 +01:00
type_uint.result client/mysqlmanagerc.c 2001-09-27 23:05:54 -06:00
type_year.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00
union.result Fixed some varnings from valgrind 2003-08-20 16:25:44 +03:00
update.result Fix for MacOSX and symlinks 2003-05-14 01:27:26 +03:00
user_var.result Updated results after merge 2003-07-01 15:38:11 +03:00
varbinary.result Some trivial optimzations 2002-09-03 15:44:25 +03:00
variables.result Portability fix for 64 bit machines 2003-05-14 23:06:06 +03:00
warnings.result fixed tests to be independed from environment 2002-08-30 21:32:59 +03:00