mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
2
mysql-test/r/flush.result
Normal file
2
mysql-test/r/flush.result
Normal file
@ -0,0 +1,2 @@
|
||||
n
|
||||
3
|
12
mysql-test/t/flush.test
Normal file
12
mysql-test/t/flush.test
Normal file
@ -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;
|
Reference in New Issue
Block a user