Commit 0d92b178 authored by unknown's avatar unknown

Cleanup: fix race in rename.test.


mysql-test/r/rename.result:
  Update result.
mysql-test/t/rename.test:
  Remove the race by replacing sleep with a reap.
parent 2886e07d
...@@ -54,3 +54,4 @@ Tables_in_test ...@@ -54,3 +54,4 @@ Tables_in_test
t2 t2
t4 t4
drop table t2, t4; drop table t2, t4;
End of 4.1 tests
...@@ -61,9 +61,15 @@ connection con2; ...@@ -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;
# End of 4.1 tests disconnect con2;
disconnect con1;
connection default;
--echo 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