From d2f557fa3d64626af8a961324b16b8b9e1642f7e Mon Sep 17 00:00:00 2001 From: Monty Date: Tue, 12 Dec 2017 15:42:22 +0200 Subject: 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 --- sql/sql_show.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_show.cc') diff --git a/sql/sql_show.cc b/sql/sql_show.cc index b480ce14abe..ae18e1cac04 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -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); -- cgit v1.2.1