1
# Tests for PERFORMANCE_SCHEMA
3
--source include/not_embedded.inc
4
--source include/have_perfschema.inc
6
--source ../include/start_server_common.inc
9
show variables like "performance_schema_max_thread_classes";
11
select count(*) from performance_schema.setup_instruments
12
where name like "thread/%";
14
# We lost all the classes
15
select variable_value > 0 from information_schema.global_status
16
where variable_name like 'PERFORMANCE_SCHEMA_THREAD_CLASSES_LOST';
19
select count(*) from performance_schema.threads;
21
# Expect no instances lost
22
show status like "performance_schema_thread_instances_lost";