1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-15359 Thread stay in "cleaning up" status after finishing

make thd_get_error_context_description() to show not just
thd->proc_info, but exactly the same thread state that SHOW PROCESSLIST
shows.
This commit is contained in:
Sergei Golubchik
2018-06-12 12:37:28 +02:00
parent d2e1ed8b93
commit 51254da52c
4 changed files with 111 additions and 97 deletions

View File

@ -0,0 +1,8 @@
create table t1 (a int) engine=innodb;
start transaction;
insert t1 values (1);
state from show engine innodb status
state from show processlist
drop table t1;