mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fixed crash in show processlist with blocked connection
If connection was not blocked, the 'db' was not properly reset This bug didn't affect information_schema
This commit is contained in:
@@ -2780,6 +2780,7 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
|
|||||||
{
|
{
|
||||||
thd_info->proc_info= "Busy";
|
thd_info->proc_info= "Busy";
|
||||||
thd_info->progress= 0.0;
|
thd_info->progress= 0.0;
|
||||||
|
thd_info->db= "";
|
||||||
}
|
}
|
||||||
|
|
||||||
thd_info->state_info= thread_state_info(tmp);
|
thd_info->state_info= thread_state_info(tmp);
|
||||||
|
Reference in New Issue
Block a user