fix that mysqld aborts on exit if an open handlersocket connection remains

This commit is contained in:
Akira Higuchi 2015-08-11 15:51:54 +09:00 committed by Sergey Vojtovich
commit 1c84836819

View file

@ -344,7 +344,7 @@ void
dbcontext::term_thread()
{
DBG_THR(fprintf(stderr, "HNDSOCK thread end %p\n", thd));
unlock_tables_if();
close_tables_if();
my_pthread_setspecific_ptr(THR_THD, 0);
{
pthread_mutex_lock(&LOCK_thread_count);