mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 23:35:32 +02:00
fix that mysqld aborts on exit if an open handlersocket connection remains
This commit is contained in:
parent
4f0fc0f912
commit
1c84836819
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue