1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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.
This commit is contained in:
unknown
2006-11-03 12:16:31 +03:00
parent 2886e07d3f
commit 0d92b17851
2 changed files with 9 additions and 2 deletions

View File

@ -54,3 +54,4 @@ Tables_in_test
t2 t2
t4 t4
drop table t2, t4; drop table t2, t4;
End of 4.1 tests

View File

@ -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