1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-29 21:37:04 +03:00
mariadb/mysql-test/t/information_schema_linux.test
Oleksandr Byelkin 7dd137c4ac 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
2015-09-17 14:30:58 +02:00

11 lines
298 B
Plaintext

--source include/linux.inc
--echo #
--echo # MDEV-6756: map a linux pid (child pid) to a connection id shown in
--echo # the output of SHOW PROCESSLIST
--echo #
--connect (con1,localhost,root)
SELECT max(tid) != min(tid) FROM information_schema.processlist;
--connection default
--disconnect con1