summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/t/start_server_disable_statements.test
blob: a337fb2ad85bfc7af774cf1364015e7753cdee24 (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 statements instruments
select * from performance_schema.setup_instruments
  where name like "statement/%" and enabled='YES';

# Expect no statement statistics collected

select * from performance_schema.events_statements_summary_global_by_event_name
  where count_star > 0;

select * from performance_schema.events_statements_summary_by_thread_by_event_name
  where count_star > 0;

select * from performance_schema.events_statements_summary_by_user_by_event_name
  where count_star > 0;

select * from performance_schema.events_statements_summary_by_host_by_event_name
  where count_star > 0;

select * from performance_schema.events_statements_summary_by_account_by_event_name
  where count_star > 0;