mirror of
https://github.com/MariaDB/server.git
synced 2025-06-23 19:21:55 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user