mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
InnoDB: restore thd->proc_info in innobase_reset_background_thd()
This commit is contained in:
parent
dd67456af3
commit
023131e395
2 changed files with 6 additions and 5 deletions
|
@ -3,11 +3,11 @@ insert t1 values (1),(2),(3),(4);
|
|||
delete from t1 where a=1;
|
||||
select user,state from information_schema.processlist order by 2;
|
||||
user state
|
||||
system user
|
||||
system user
|
||||
system user
|
||||
system user
|
||||
root Filling schema table
|
||||
system user InnoDB purge coordinator
|
||||
system user InnoDB purge worker
|
||||
system user InnoDB purge worker
|
||||
system user InnoDB purge worker
|
||||
system user InnoDB shutdown handler
|
||||
set global debug_dbug='+d,only_kill_system_threads';
|
||||
connect con1, localhost, root;
|
||||
|
|
|
@ -1746,8 +1746,9 @@ innobase_reset_background_thd(MYSQL_THD thd)
|
|||
ut_ad(THDVAR(thd, background_thread));
|
||||
|
||||
/* background purge thread */
|
||||
const char *proc_info= thd_proc_info(thd, "reset");
|
||||
reset_thd(thd);
|
||||
thd_proc_info(thd, "");
|
||||
thd_proc_info(thd, proc_info);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue