mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix race condition of concurrent RENAME and SHOW TABLES which caused
random test failures. mysql-test/t/rename.test: Fix race condition and add cleanup code.
This commit is contained in:
@ -61,9 +61,15 @@ connection con2;
|
|||||||
sleep 1;
|
sleep 1;
|
||||||
show tables;
|
show tables;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
sleep 1;
|
connection con1;
|
||||||
|
reap;
|
||||||
|
connection con2;
|
||||||
show tables;
|
show tables;
|
||||||
|
|
||||||
drop table t2, t4;
|
drop table t2, t4;
|
||||||
|
|
||||||
|
disconnect con2;
|
||||||
|
disconnect con1;
|
||||||
|
connection default;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
Reference in New Issue
Block a user