summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/start_server_no_host.test
blob: e0d3d4b1f0f99c7d95dce84de8fdbfee4eea6567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Tests for PERFORMANCE_SCHEMA

--source include/not_embedded.inc
--source include/have_perfschema.inc

--source ../include/start_server_common.inc

# Expect no records
show variables like "performance_schema_hosts_size";

select count(*) from performance_schema.hosts;

# We lost all the data
select variable_value > 0 from information_schema.global_status
  where variable_name like 'PERFORMANCE_SCHEMA_HOSTS_LOST';