Debian Codegraph @

mysql-test/suite/perfschema/t/start_server_no_thread_class.test

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 --source ../include/start_server_common.inc
4
5 # Expect no classes
6 show global variables like "performance_schema_max_thread_classes";
7
8 select count(*) from performance_schema.setup_instruments
9 where name like "thread/%";
10
11 # We lost all the classes
12 --disable_warnings
13 select variable_value > 0 from performance_schema.global_status
14 where variable_name like 'PERFORMANCE_SCHEMA_THREAD_CLASSES_LOST';
15 --enable_warnings
16
17 # Expect no instances
18 select count(*) from performance_schema.threads;
19
20 # Expect no instances lost
21 show global status like "performance_schema_thread_instances_lost";
22