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:
@ -54,3 +54,4 @@ Tables_in_test
|
||||
t2
|
||||
t4
|
||||
drop table t2, t4;
|
||||
End of 4.1 tests
|
||||
|
@ -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;
|
||||
|
||||
# End of 4.1 tests
|
||||
disconnect con2;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
|
||||
--echo End of 4.1 tests
|
||||
|
Reference in New Issue
Block a user