mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
fixed the tests mysql-test/t/synchronization.test
for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table
This commit is contained in:
@@ -1963,11 +1963,6 @@ int mysql_create_like_table(THD* thd, TABLE_LIST* table,
|
||||
/*
|
||||
Create a new table by copying from source table
|
||||
*/
|
||||
#ifndef DBUG_OFF
|
||||
// The code stated below is for test synchronization.test Bug #2385
|
||||
if (test_flags & TEST_SYNCHRONIZATION)
|
||||
sleep(3);
|
||||
#endif
|
||||
if (my_copy(src_path, dst_path, MYF(MY_WME|MY_DONT_OVERWRITE_FILE)))
|
||||
goto err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user