Commit 0b88f8c7 authored by iggy@recycle.(none)'s avatar iggy@recycle.(none)

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint

into  recycle.(none):/src/bug25621/my51-bug25621
parents 2ac94c30 b8ac729f
...@@ -3622,8 +3622,9 @@ void decrement_handler_count() ...@@ -3622,8 +3622,9 @@ void decrement_handler_count()
{ {
pthread_mutex_lock(&LOCK_thread_count); pthread_mutex_lock(&LOCK_thread_count);
handler_count--; handler_count--;
pthread_mutex_unlock(&LOCK_thread_count);
pthread_cond_signal(&COND_handler_count); pthread_cond_signal(&COND_handler_count);
pthread_mutex_unlock(&LOCK_thread_count);
my_thread_end();
} }
#else #else
#define decrement_handler_count() #define decrement_handler_count()
......
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