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