diff options
author | unknown <kroki@mysql.com> | 2006-05-06 09:41:24 +0400 |
---|---|---|
committer | unknown <kroki@mysql.com> | 2006-05-06 09:41:24 +0400 |
commit | 9f606932f72ba80e03fd828f25f6e22c908a77b6 (patch) | |
tree | c66ba707a4de137ada301dd685b7ee6b2de8aab6 /mysql-test/t/rename.test | |
parent | e5d610843032b071dcadd01c01ad5c2b04558c81 (diff) | |
download | mariadb-git-9f606932f72ba80e03fd828f25f6e22c908a77b6.tar.gz |
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.
Diffstat (limited to 'mysql-test/t/rename.test')
-rw-r--r-- | mysql-test/t/rename.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/rename.test b/mysql-test/t/rename.test index 5caecef176e..86e4b6eed0a 100644 --- a/mysql-test/t/rename.test +++ b/mysql-test/t/rename.test @@ -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 |