Skip to content

Commit 1c84836

Browse files
ahigutisvoj
authored andcommitted
fix that mysqld aborts on exit if an open handlersocket connection remains
1 parent 4f0fc0f commit 1c84836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/handler_socket/handlersocket/database.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ void
344344
dbcontext::term_thread()
345345
{
346346
DBG_THR(fprintf(stderr, "HNDSOCK thread end %p\n", thd));
347-
unlock_tables_if();
347+
close_tables_if();
348348
my_pthread_setspecific_ptr(THR_THD, 0);
349349
{
350350
pthread_mutex_lock(&LOCK_thread_count);

0 commit comments

Comments
 (0)