Debian Codegraph @

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

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 --source include/not_embedded.inc
4 --source include/have_perfschema.inc
5
6 --source ../include/start_server_common.inc
7
8 # Expect no classes
9 show global variables like "performance_schema_max_rwlock_classes";
10
11 select count(*) from performance_schema.setup_instruments
12 where name like "wait/synch/rwlock/%";
13
14 # We lost all the classes
15 --disable_warnings
16 select variable_value > 0 from information_schema.global_status
17 where variable_name like 'PERFORMANCE_SCHEMA_RWLOCK_CLASSES_LOST';
18 --enable_warnings
19
20 # Expect no instances
21 select count(*) from performance_schema.rwlock_instances;
22
23 # Expect no instances lost
24 show global status like "performance_schema_rwlock_instances_lost";
25