1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Monty
2017-12-12 15:42:22 +02:00
parent 0628123617
commit d2f557fa3d

View File

@ -2780,6 +2780,7 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
{
thd_info->proc_info= "Busy";
thd_info->progress= 0.0;
thd_info->db= "";
}
thd_info->state_info= thread_state_info(tmp);