diff options
author | Akira Higuchi <ahiguti100@gmail.com> | 2015-08-11 15:51:54 +0900 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-03-18 14:32:18 +0400 |
commit | 1c84836819b3cfdb8e357896f8b2a3f15e573f9b (patch) | |
tree | bcb2ac43c8e3e36b990d17f377f509459f907c05 /plugin/handler_socket | |
parent | 4f0fc0f91281004fb91cf293e691a52125c4069d (diff) | |
download | mariadb-git-1c84836819b3cfdb8e357896f8b2a3f15e573f9b.tar.gz |
fix that mysqld aborts on exit if an open handlersocket connection remains
Diffstat (limited to 'plugin/handler_socket')
-rw-r--r-- | plugin/handler_socket/handlersocket/database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/handler_socket/handlersocket/database.cpp b/plugin/handler_socket/handlersocket/database.cpp index 7c2c5e797d2..b05b6384565 100644 --- a/plugin/handler_socket/handlersocket/database.cpp +++ b/plugin/handler_socket/handlersocket/database.cpp @@ -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); |