mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
P_S 5.7.28
This commit is contained in:
@ -6,18 +6,20 @@
|
||||
--source ../include/start_server_common.inc
|
||||
|
||||
# Expect no classes
|
||||
show variables like "performance_schema_max_rwlock_classes";
|
||||
show global variables like "performance_schema_max_rwlock_classes";
|
||||
|
||||
select count(*) from performance_schema.setup_instruments
|
||||
where name like "wait/synch/rwlock/%";
|
||||
|
||||
# We lost all the classes
|
||||
--disable_warnings
|
||||
select variable_value > 0 from information_schema.global_status
|
||||
where variable_name like 'PERFORMANCE_SCHEMA_RWLOCK_CLASSES_LOST';
|
||||
--enable_warnings
|
||||
|
||||
# Expect no instances
|
||||
select count(*) from performance_schema.rwlock_instances;
|
||||
|
||||
# Expect no instances lost
|
||||
show status like "performance_schema_rwlock_instances_lost";
|
||||
show global status like "performance_schema_rwlock_instances_lost";
|
||||
|
||||
|
Reference in New Issue
Block a user