summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/t/start_server_disable_stages.test
blob: 83ee6838910955e2befae2ae15f5f83cac821c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Tests for PERFORMANCE_SCHEMA

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

--source ../include/start_server_common.inc

# Expect no enabled stages instruments
select * from performance_schema.setup_instruments
  where name like "stage/%" and enabled='YES';

# Expect no stage statistics collected

select * from performance_schema.events_stages_summary_global_by_event_name
  where count_star > 0;

select * from performance_schema.events_stages_summary_by_thread_by_event_name
  where count_star > 0;

select * from performance_schema.events_stages_summary_by_user_by_event_name
  where count_star > 0;

select * from performance_schema.events_stages_summary_by_host_by_event_name
  where count_star > 0;

select * from performance_schema.events_stages_summary_by_account_by_event_name
  where count_star > 0;