1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-28255 "Error" instead of NULL in P_S.THREADS_CONNECTION_TYPE for background threads

use vio_type_names[] values as in MySQL
This commit is contained in:
Sergei Golubchik
2022-04-08 14:17:36 +02:00
parent d8463b64b3
commit cfdb621243
3 changed files with 8 additions and 4 deletions

View File

@ -32,7 +32,7 @@ SET GLOBAL event_scheduler = OFF;
# Therefore we have to disable this protocol for the next statement.
--disable_ps_protocol
SELECT name, type, processlist_user, processlist_host, processlist_db,
processlist_command, processlist_info,
processlist_command, processlist_info, connection_type,
IF(parent_thread_id IS NULL, parent_thread_id, 'unified parent_thread_id')
AS unified_parent_thread_id,
role, instrumented