Cleanup tables created by test cases

parent 4614ae5a
......@@ -11,3 +11,4 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1
SELECT * FROM t1;
a
DROP TABLE t1;
......@@ -121,6 +121,7 @@ delete from mysql.user where user like "mysqltest%";
delete from mysql.db where user like "mysqltest%";
delete from mysql.columns_priv where user like "mysqltest%";
delete from mysql.tables_priv where user like "mysqltest%";
delete from mysql.tables_priv where user like "mysqltest%";
DROP TABLE IF EXISTS t5;
CREATE TABLE t5 (
word varchar(50) collate utf8_unicode_ci NOT NULL default ''
......
......@@ -24,3 +24,5 @@ INSERT INTO `t1`(`f1`) VALUES ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
SHOW STATUS LIKE 'Slave_running';
Variable_name Value
Slave_running OFF
drop table t1;
drop table t1;
......@@ -93,3 +93,5 @@ Master_SSL_Cipher
Master_SSL_Key MYSQL_TEST_DIR/std_data/client-key.pem
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
drop user replssl@localhost;
drop table t1;
......@@ -30,3 +30,6 @@ COMMIT;
SHOW CREATE TABLE t1;
SELECT * FROM t1;
DROP TABLE t1;
......@@ -136,6 +136,9 @@ delete from mysql.tables_priv where user like "mysqltest%";
connection master;
#BUG27606
delete from mysql.tables_priv where user like "mysqltest%";
#
# bug#22877 replication character sets get out of sync
# using replicate-wild-ignore-table
......
......@@ -68,5 +68,11 @@ connection slave;
sleep 2;
SHOW STATUS LIKE 'Slave_running';
# cleanup
connection master;
drop table t1;
connection slave;
drop table t1;
# End of tests
......@@ -58,3 +58,9 @@ sync_slave_with_master;
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR $MASTER_MYPORT MASTER_MYPORT
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 #
query_vertical show slave status;
connection master;
drop user replssl@localhost;
drop table t1;
sync_slave_with_master;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment