From cee153b87a19f2c60916ca62e48c11a42dd8bf9c Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 3 Apr 2004 02:44:38 +0500 Subject: made some optimization of last patch for Bug #2385 "CREATE TABLE LIKE lacks locking on source and destination table" (in sql_table.cc and mysql-test/t/synchronization.test) mysql-test/t/synchronization.test: added sleep to more reliable work sql/sql_table.cc: made some optimization of last patch for Bug #2385 "CREATE TABLE LIKE lacks locking on source and destination table" in mysql_create_like_table --- mysql-test/t/synchronization.test | 1 + 1 file changed, 1 insertion(+) (limited to 'mysql-test/t/synchronization.test') diff --git a/mysql-test/t/synchronization.test b/mysql-test/t/synchronization.test index 84478cf7445..695e405544a 100644 --- a/mysql-test/t/synchronization.test +++ b/mysql-test/t/synchronization.test @@ -13,6 +13,7 @@ CREATE TABLE t1 (a int); send CREATE TABLE t2 LIKE t1; connection con_to_harm_sleeper; +sleep 1; ALTER TABLE t1 add key(a); connection con_to_sleep; -- cgit v1.2.1