mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
5.5 merge
This commit is contained in:
@@ -2715,9 +2715,7 @@ void unlink_thd(THD *thd)
|
||||
thd_cleanup(thd);
|
||||
dec_connection_count(thd);
|
||||
|
||||
mysql_mutex_lock(&LOCK_status);
|
||||
add_to_status(&global_status_var, &thd->status_var);
|
||||
mysql_mutex_unlock(&LOCK_status);
|
||||
thd->add_status_to_global();
|
||||
|
||||
mysql_mutex_lock(&LOCK_thread_count);
|
||||
thd->unlink();
|
||||
|
||||
Reference in New Issue
Block a user