Commit e5b4c350 authored by unknown's avatar unknown

possible BUG#22320 removed because it does not help.

parent 130fb4dd
...@@ -470,18 +470,8 @@ int main(int argc __attribute__((unused)), ...@@ -470,18 +470,8 @@ int main(int argc __attribute__((unused)),
pthread_mutex_lock(&LOCK_thread_count); pthread_mutex_lock(&LOCK_thread_count);
while (thread_count) while (thread_count)
{ {
/*
workaround until we know why it crashes randomly on some machine
(BUG#22320).
*/
sleep(1);
if ((error= pthread_cond_wait(&COND_thread_count,&LOCK_thread_count))) if ((error= pthread_cond_wait(&COND_thread_count,&LOCK_thread_count)))
diag("COND_thread_count: %d from pthread_cond_wait\n",error); diag("COND_thread_count: %d from pthread_cond_wait\n",error);
/*
workaround until we know why it crashes randomly on some machine
(BUG#22320).
*/
sleep(1);
} }
pthread_mutex_unlock(&LOCK_thread_count); pthread_mutex_unlock(&LOCK_thread_count);
DBUG_PRINT("info", ("thread ended")); DBUG_PRINT("info", ("thread ended"));
...@@ -497,12 +487,6 @@ int main(int argc __attribute__((unused)), ...@@ -497,12 +487,6 @@ int main(int argc __attribute__((unused)),
} }
my_delete(file1_name, MYF(0)); my_delete(file1_name, MYF(0));
/*
workaround until we know why it crashes randomly on some machine
(BUG#22320).
*/
sleep(2);
DBUG_PRINT("info", ("file1 (%d) closed", file1.file)); DBUG_PRINT("info", ("file1 (%d) closed", file1.file));
DBUG_PRINT("info", ("Program end")); DBUG_PRINT("info", ("Program end"));
......
...@@ -354,11 +354,6 @@ int main(int argc __attribute__((unused)), ...@@ -354,11 +354,6 @@ int main(int argc __attribute__((unused)),
DBUG_PRINT("info", ("file1 (%d) closed", file1.file)); DBUG_PRINT("info", ("file1 (%d) closed", file1.file));
DBUG_PRINT("info", ("Program end")); DBUG_PRINT("info", ("Program end"));
/*
workaround until we know why it crashes randomly on some machine
(BUG#22320).
*/
sleep(2);
} /* SKIP_BIG_TESTS */ } /* SKIP_BIG_TESTS */
my_end(0); my_end(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment