summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000012.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-12-07 07:54:59 -0700
committersasha@mysql.sashanet.com <>2000-12-07 07:54:59 -0700
commitec1359416be7cec52f94dc4f7d6fabb2d406d416 (patch)
treeef39d8dcdf72e86ba28a8083870495ea8e17395c /mysql-test/t/rpl000012.test
parenta5c75df390e9b67454bd0a04e75583057e9579f7 (diff)
downloadmariadb-git-ec1359416be7cec52f94dc4f7d6fabb2d406d416.tar.gz
fixed up mysql-test - will not push this yet, as more clean up/testing is to follow
Diffstat (limited to 'mysql-test/t/rpl000012.test')
-rw-r--r--mysql-test/t/rpl000012.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000012.test b/mysql-test/t/rpl000012.test
new file mode 100644
index 00000000000..55d6bd4d4f2
--- /dev/null
+++ b/mysql-test/t/rpl000012.test
@@ -0,0 +1,19 @@
+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;
+connection master1;
+create temporary table t (n int);
+insert into t values (4),(5);
+insert into x select * from t;
+disconnect master;
+connection master1;
+insert into x values(6);
+disconnect master1;
+connection slave;
+sleep 1;
+@r/rpl000012.result select * from x;
+@r/rpl000012.status.result show status like 'Slave_open_temp_tables';