1
0
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:
vva@eagle.mysql.r18.ru
2004-04-06 19:17:13 +05:00
parent 2ae2b946d6
commit 0cc998a466
6 changed files with 180 additions and 65 deletions

View File

@@ -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;