Debian Codegraph @

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

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