diff options
| author | Konstantin Osipov <kostja@sun.com> | 2009-07-24 20:20:46 +0400 |
|---|---|---|
| committer | Konstantin Osipov <kostja@sun.com> | 2009-07-24 20:20:46 +0400 |
| commit | b4bf7dd31e39cd98f5794e4d7ef71cf03d0669dd (patch) | |
| tree | 10105129217624e54227a3a1b3e360e045d1f839 /sql/sql_parse.cc | |
| parent | c24cccabdda8fad2117e3dea39e4de3c7feb3157 (diff) | |
| download | mariadb-git-b4bf7dd31e39cd98f5794e4d7ef71cf03d0669dd.tar.gz | |
Code review for Bug#43587 Putting event_scheduler=1 in init SQL file crashes
mysqld
Diffstat (limited to 'sql/sql_parse.cc')
| -rw-r--r-- | sql/sql_parse.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 542ce992537..49830c1712e 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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 |
