Debian Codegraph @

mysql-test/suite/perfschema/t/start_server_no_socket_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_socket_classes";
7
8 select count(*) from performance_schema.setup_instruments
9 where name like "wait/io/socket/%";
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_SOCKET_CLASSES_LOST';
15 --enable_warnings
16
17 # Expect no instances
18 select count(*) from performance_schema.socket_instances;
19
20 # Expect no instances lost
21 show global status like "performance_schema_socket_instances_lost";
22