Commit dc5dd7a2 authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint

into  recycle.(none):/src/bug25621/my50-bug25621


sql/mysqld.cc:
  Auto merged
parents 83689eb0 800d74f2
...@@ -3412,8 +3412,9 @@ void decrement_handler_count() ...@@ -3412,8 +3412,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