Commit 9f606932 authored by unknown's avatar unknown

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.
parent e5d61084
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment