summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-04-06 19:17:13 +0500
committerunknown <vva@eagle.mysql.r18.ru>2004-04-06 19:17:13 +0500
commit315f5d27c4579220ce56f56d29ff299ad715ec11 (patch)
tree0c2e038a7a7c2f71fdb4697519e881a06bdf1e11 /sql/sql_table.cc
parente7a85e367f5518cbe3a4bc70d37a6a66418ea68f (diff)
downloadmariadb-git-315f5d27c4579220ce56f56d29ff299ad715ec11.tar.gz
fixed the tests mysql-test/t/synchronization.test
for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table BitKeeper/deleted/.del-synchronization-master.opt~265be23ead00949: Delete: mysql-test/t/synchronization-master.opt BitKeeper/deleted/.del-have_debug.require~d981522532c711b2: Delete: mysql-test/r/have_debug.require BitKeeper/deleted/.del-have_debug.inc~f4dc5160b9912226: Delete: mysql-test/include/have_debug.inc mysql-test/r/synchronization.result: fixed the test for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table mysql-test/t/synchronization.test: fixed the test for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table sql/sql_table.cc: deleted test sleep from mysql_create_like_table
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 5e358f76d3f..343bcda9102 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -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;