mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-6756: map a linux pid (child pid) to a connection id shown in the output of SHOW PROCESSLIST
Added tid (thread ID) for system where it is present. ps -eL -o tid,pid,command shows the thread on Linux
This commit is contained in:
@ -1926,7 +1926,8 @@ t1 CREATE TABLE `t1` (
|
||||
`MEMORY_USED` int(7) NOT NULL DEFAULT '0',
|
||||
`EXAMINED_ROWS` int(7) NOT NULL DEFAULT '0',
|
||||
`QUERY_ID` bigint(4) NOT NULL DEFAULT '0',
|
||||
`INFO_BINARY` blob
|
||||
`INFO_BINARY` blob,
|
||||
`TID` bigint(4) NOT NULL DEFAULT '0'
|
||||
) DEFAULT CHARSET=utf8
|
||||
drop table t1;
|
||||
create temporary table t1 like information_schema.processlist;
|
||||
@ -1948,7 +1949,8 @@ t1 CREATE TEMPORARY TABLE `t1` (
|
||||
`MEMORY_USED` int(7) NOT NULL DEFAULT '0',
|
||||
`EXAMINED_ROWS` int(7) NOT NULL DEFAULT '0',
|
||||
`QUERY_ID` bigint(4) NOT NULL DEFAULT '0',
|
||||
`INFO_BINARY` blob
|
||||
`INFO_BINARY` blob,
|
||||
`TID` bigint(4) NOT NULL DEFAULT '0'
|
||||
) DEFAULT CHARSET=utf8
|
||||
drop table t1;
|
||||
create table t1 like information_schema.character_sets;
|
||||
|
Reference in New Issue
Block a user