Skip to content
Permalink
Browse files
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
  • Loading branch information
montywi committed Dec 12, 2017
1 parent 0628123 commit d2f557f
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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);

0 comments on commit d2f557f

Please sign in to comment.