1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Code review for Bug#43587 Putting event_scheduler=1 in init SQL file crashes

mysqld
This commit is contained in:
Konstantin Osipov
2009-07-24 20:20:46 +04:00
parent c24cccabdd
commit b4bf7dd31e
6 changed files with 60 additions and 27 deletions

View File

@ -533,8 +533,9 @@ end:
#ifndef EMBEDDED_LIBRARY
(void) pthread_mutex_lock(&LOCK_thread_count);
thread_count--;
(void) pthread_mutex_unlock(&LOCK_thread_count);
in_bootstrap= FALSE;
(void) pthread_cond_broadcast(&COND_thread_count);
(void) pthread_mutex_unlock(&LOCK_thread_count);
my_thread_end();
pthread_exit(0);
#endif