Commit 9f606932 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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