mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Code review for Bug#43587 Putting event_scheduler=1 in init SQL file crashes
mysqld
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user