summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush.test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-03-22 20:04:59 -0700
committerunknown <sasha@mysql.sashanet.com>2001-03-22 20:04:59 -0700
commit250bb75a50696a2f7c3358684e9d25279f84ad46 (patch)
treee74a6586b8466fc366b1919f94e9310b3fdb6596 /mysql-test/t/flush.test
parentfc9c0ad83eecb909fd4f5a08e3b8bfb6c8431159 (diff)
downloadmariadb-git-250bb75a50696a2f7c3358684e9d25279f84ad46.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. sql/sql_base.cc: fixed bugs on re-open of temp tables after FLUSH in the middle of open
Diffstat (limited to 'mysql-test/t/flush.test')
-rw-r--r--mysql-test/t/flush.test12
1 files changed, 12 insertions, 0 deletions
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;