1
0
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:
unknown
2006-05-06 09:41:24 +04:00
parent e5d6108430
commit 9f606932f7

View File

@ -61,9 +61,15 @@ connection con2;
sleep 1;
show tables;
UNLOCK TABLES;
sleep 1;
connection con1;
reap;
connection con2;
show tables;
drop table t2, t4;
disconnect con2;
disconnect con1;
connection default;
# End of 4.1 tests