mariadb/mysql-test/suite/rpl/t/rpl_alter_db.test
Sven Sandberg 78a3abeced 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.
2008-11-13 20:19:00 +01:00

14 lines
357 B
Text

source include/master-slave.inc;
--echo ==== Verify that alter database does not stop replication ====
create database temp_db;
use temp_db; # to be different from initial `test' db of mysqltest client
alter database collate latin1_bin;
sync_slave_with_master;
--echo ==== Clean up ====
connection master;
drop database temp_db;
sync_slave_with_master;