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,21 +6,23 @@
|
||||
--source ../include/start_server_common.inc
|
||||
|
||||
# Expect classes
|
||||
show variables like "performance_schema_max_socket_classes";
|
||||
show global variables like "performance_schema_max_socket_classes";
|
||||
|
||||
select count(*) > 0 from performance_schema.setup_instruments
|
||||
where name like "wait/io/socket/%";
|
||||
|
||||
# Expect no class lost
|
||||
show status like "performance_schema_socket_classes_lost";
|
||||
show global status like "performance_schema_socket_classes_lost";
|
||||
|
||||
# Expect no instances
|
||||
show variables like "performance_schema_max_socket_instances";
|
||||
show global variables like "performance_schema_max_socket_instances";
|
||||
|
||||
select count(*) from performance_schema.socket_instances;
|
||||
|
||||
# Expect instances lost
|
||||
--disable_warnings
|
||||
select variable_value > 0 from information_schema.global_status
|
||||
where variable_name like 'PERFORMANCE_SCHEMA_SOCKET_INSTANCES_LOST';
|
||||
--enable_warnings
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user