1 2# Tests for special content of performance_schema.threads 3# 4# Show InnoDB related content in performance_schema.threads 5 6--source include/not_embedded.inc 7--source include/have_innodb.inc 8--source include/have_perfschema.inc 9 10--source include/turn_off_only_full_group_by.inc 11 12# There are several InnoDB io_handler_threads servicing for read IO, write IO etc. 13# The number of these threads is at least for some types configurable. 14# We suppress here duplicates rows with the goal to avoid that the test fails 15# in case some defaults are changed. 16SELECT name, type, processlist_user, processlist_host, processlist_db, 17 processlist_command, processlist_time, processlist_state, processlist_info, 18 parent_thread_id, role, instrumented 19FROM performance_schema.threads 20WHERE name LIKE 'thread/innodb/%' 21GROUP BY name; 22 23--source include/restore_sql_mode_after_turn_off_only_full_group_by.inc 24