Debian Codegraph @

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

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 --source ../include/start_server_common.inc
4
5 # Expect no records
6 show global variables like "performance_schema_hosts_size";
7
8 select count(*) from performance_schema.hosts;
9
10 # We lost all the data
11 --disable_warnings
12 select variable_value > 0 from performance_schema.global_status
13 where variable_name like 'PERFORMANCE_SCHEMA_HOSTS_LOST';
14 --enable_warnings
15