mariadb/mysql-test/suite/binlog/r
Sven Sandberg ca59e88ce3 BUG#38350: Many tests don't clean up after themselves on exit.
Problem: Many test cases don't clean up after themselves (fail
to drop tables or fail to reset variables). This implies that:
(1) check-testcase in the new mtr that currently lives in
5.1-rpl failed. (2) it may cause unexpected results in
subsequent tests.
Fix: make all tests clean up.
Also: cleaned away unnecessary output in rpl_packet.result
Also: fixed bug where rpl_log called RESET MASTER with a running
slave. This is not supposed to work.
Also: removed unnecessary code from rpl_stm_EE_err2 and made it
verify that an error occurred.
Also: removed unnecessary code from rpl_ndb_ctype_ucs2_def.


mysql-test/extra/rpl_tests/rpl_loaddata.test:
  Made test clean up after itself.
mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test:
  Made test clean up after itself.
  Also removed unnecessary save_master_pos.
  Also made test verify that an error occurred.
mysql-test/extra/rpl_tests/rpl_truncate_helper.test:
  Made test clean up after itself.
mysql-test/include/query_cache.inc:
  Made test clean up after itself.
mysql-test/suite/binlog/t/binlog_auto_increment_bug33029.test:
  Made test clean up after itself.
mysql-test/suite/rpl/t/rpl_alter_db.test:
  Made test clean up after itself.
  Easiest to refactor the test a little, to use an auxiliary database instead of mysql:
  Then we don't need to read the collation at the start of the test and reset it at the
  end of the test. We can just drop the database.
mysql-test/suite/rpl/t/rpl_drop_db.test:
  Made test clean up after itself.
mysql-test/suite/rpl/t/rpl_drop_view.test:
  Made test clean up after itself.
mysql-test/suite/rpl/t/rpl_events.test:
  Made test clean up after itself.
mysql-test/suite/rpl/t/rpl_idempotency.test:
  Made test clean up after itself.
mysql-test/suite/rpl/t/rpl_ignore_table.test:
  Made test clean up after itself.
  The existing cleanup code didn't work, because the --replicate-*
  options prevented the "drop table" from being replicated. Moved
  "drop table t4" to a statement of its own.
mysql-test/suite/rpl/t/rpl_packet.test:
  Made test clean up after itself.
  Also replaced SHOW SLAVE STATUS by query_get_value(SHOW SLAVE STATUS...),
  since only one column of the result was interesting.
mysql-test/suite/rpl/t/rpl_row_max_relay_size.test:
  Made test clean up after itself.
  Instead of setting binlog format at the beginning of the test, we just
  do 'source include/have_binlog_format_row.inc' like all other tests.
mysql-test/suite/rpl_ndb/t/rpl_ndb_2other.test:
  Made test clean up after itself.
mysql-test/suite/rpl_ndb/t/rpl_ndb_ctype_ucs2_def.test:
  Made test clean up after itself.
  Also removed unnecessary 'create table; drop table'
  Also removed unnecessary use of --command
mysql-test/suite/rpl_ndb/t/rpl_ndb_multi.test:
  Made test clean up after itself.
mysql-test/t/innodb-autoinc-optimize.test:
  Made test clean up after itself.
mysql-test/t/innodb.test:
  Made test clean up after itself.
mysql-test/t/log_tables.test:
  Made test clean up after itself.
mysql-test/t/mysql_client_test.test:
  Made test clean up after itself.
mysql-test/t/partition.test:
  Made test clean up after itself.
mysql-test/t/status.test:
  Made test clean up after itself.
2008-11-13 20:19:00 +01:00
..
binlog_auto_increment_bug33029.result BUG#38350: Many tests don't clean up after themselves on exit. 2008-11-13 20:19:00 +01:00
binlog_base64_flag.result merged 5.1 main to 5.1-rpl 2008-08-04 07:04:47 +02:00
binlog_database.result Bug #38773: DROP DATABASE cause switch to stmt-mode when there are temporary 2008-08-27 10:40:11 +02:00
binlog_grant.result Bug #39106: 2008-09-09 12:19:31 +02:00
binlog_index.result Fix for binlog_index test case: hide difference for paths from warning messages between Windows and Unix 2008-04-05 15:09:53 +04:00
binlog_innodb.result Result file change. 2008-08-27 16:17:55 +02:00
binlog_killed.result Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags 2007-11-06 20:41:06 +02:00
binlog_killed_simulate.result post fixes after merge 2008-08-15 10:31:04 +08:00
binlog_mix_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_multi_engine.result Manual merge of 5.1 into 5.1-rpl 2008-10-24 14:51:06 +02:00
binlog_old_versions.result BUG#34141: mysqlbinlog cannot read 4.1 binlogs containing load data infile 2008-01-30 14:12:40 +01:00
binlog_row_binlog.result Merge 2008-10-02 10:56:07 +05:00
binlog_row_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_row_ctype_ucs.result Post-merge fixes to make tests pass. 2008-04-02 20:47:16 +02:00
binlog_row_drop_tmp_tbl.result WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_row_insert_select.result BUG#29020 (Event results not correctly replicated to slave in RBR): 2008-03-28 13:16:41 +01:00
binlog_row_mix_innodb_myisam.result Merge 5.1-rpl-testfixes -> 5.1-rpl 2008-08-14 17:38:22 +08:00
binlog_start_comment.result Fix after merge 2008-02-28 18:55:46 +01:00
binlog_statement_insert_delayed.result BUG#38068: binlog_stm_binlog fails sporadically in pushbuild 2008-07-29 17:36:13 +02:00
binlog_stm_binlog.result Merge 2008-10-02 10:56:07 +05:00
binlog_stm_blackhole.result Merging 5.1 main into 5.1-rpl 2008-10-23 21:27:09 +02:00
binlog_stm_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_stm_ctype_ucs.result BUG#34541: mysqlbinlog prints 'set;' in stm mode after changing autocommit mode 2008-04-02 16:49:22 +07:00
binlog_stm_drop_tmp_tbl.result WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_innodb_stat.result Bug#37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 15:15:52 -04:00
binlog_stm_insert_select.result WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_mix_innodb_myisam.result Merge 5.1-rpl-testfixes -> 5.1-rpl 2008-08-14 17:38:22 +08:00
binlog_stm_ps.result BUG#34768 - nondeterministic INSERT using LIMIT logged in stmt mode 2008-03-25 17:28:12 +04:00
binlog_stm_row.result Bug#34306: Can't make copy of log tables when server binary log is enabled 2008-09-29 10:53:40 -03:00
binlog_unsafe.result Merge stella.local:/home2/mydev/mysql-5.1-ateam 2008-03-26 10:56:03 +01:00