summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-03-22 20:04:59 -0700
committersasha@mysql.sashanet.com <>2001-03-22 20:04:59 -0700
commitcb8962ac808016a58d2a0064134d25a207eb9cf7 (patch)
treee74a6586b8466fc366b1919f94e9310b3fdb6596 /mysql-test
parent2517966c7b70ff6e320ff2b6f5f67ac76071bb20 (diff)
downloadmariadb-git-cb8962ac808016a58d2a0064134d25a207eb9cf7.tar.gz
fixed bug on re-open of temp tables after FLUSH in the middle of open
added flush test case, but had to comment the fun part out because it does not work for some reason - will investigate why.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/flush.result2
-rw-r--r--mysql-test/t/flush.test12
2 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/flush.result b/mysql-test/r/flush.result
new file mode 100644
index 00000000000..76862936a16
--- /dev/null
+++ b/mysql-test/r/flush.result
@@ -0,0 +1,2 @@
+n
+3
diff --git a/mysql-test/t/flush.test b/mysql-test/t/flush.test
new file mode 100644
index 00000000000..750ecdeadda
--- /dev/null
+++ b/mysql-test/t/flush.test
@@ -0,0 +1,12 @@
+connect (con1,localhost,root,,test,0,mysql-master.sock);
+connect (con2,localhost,root,,test,0,mysql-master.sock);
+connection con1;
+drop table if exists t1;
+create temporary table t1(n int);
+connection con2;
+#send flush tables;
+connection con1;
+insert into t1 values(3);
+select * from t1;
+connection con2;
+#reap;