Commit d2f557fa authored by Monty's avatar Monty

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
parent 06281236
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment