diff options
author | monty@donna.mysql.com <> | 2001-01-03 02:15:48 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2001-01-03 02:15:48 +0200 |
commit | 9ff59511a5001a07a3c1ef2c4531f69fb8180a72 (patch) | |
tree | ee1c300b5d4d96d2aa4fd1efea5bbf5e7a01628a /mysql-test/t/rpl000012.test | |
parent | ac0ceaf28e35ca50dfa606d3fd7ebb8e6e6e0085 (diff) | |
download | mariadb-git-9ff59511a5001a07a3c1ef2c4531f69fb8180a72.tar.gz |
Cleanup of tests to make them less dependent of eachother
Added new big select test
Diffstat (limited to 'mysql-test/t/rpl000012.test')
-rw-r--r-- | mysql-test/t/rpl000012.test | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/mysql-test/t/rpl000012.test b/mysql-test/t/rpl000012.test index 55d6bd4d4f2..8a231c3f04d 100644 --- a/mysql-test/t/rpl000012.test +++ b/mysql-test/t/rpl000012.test @@ -1,19 +1,26 @@ source include/master-slave.inc; connection master; -drop table if exists x; -create table x(n int); -create temporary table t(n int); -insert into t values(1),(2),(3); -insert into x select * from t; +drop table if exists t1,t2; + +create table t2 (n int); +create temporary table t1 (n int); +insert into t1 values(1),(2),(3); +insert into t2 select * from t1; connection master1; -create temporary table t (n int); -insert into t values (4),(5); -insert into x select * from t; +create temporary table t1 (n int); +insert into t1 values (4),(5); +insert into t2 select * from t1; disconnect master; connection master1; -insert into x values(6); +insert into t2 values(6); disconnect master1; connection slave; sleep 1; -@r/rpl000012.result select * from x; +@r/rpl000012.result select * from t2; @r/rpl000012.status.result show status like 'Slave_open_temp_tables'; +# +# Clean up +# +connect (master2,localhost,root,,test,0,var/tmp/mysql.sock); +connection master2; +drop table if exists t1,t2; |