Skip to content

Commit

Permalink
fix that mysqld aborts on exit if an open handlersocket connection re…
Browse files Browse the repository at this point in the history
…mains
  • Loading branch information
ahiguti authored and Sergey Vojtovich committed Mar 18, 2016
1 parent 4f0fc0f commit 1c84836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/handler_socket/handlersocket/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c84836

Please sign in to comment.