summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/start_server_disable_transactions.test
blob: 723dd1027c9379b4e724bab23a79e9524406a020 (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 in ('transaction') and enabled='YES';

# Expect no statement statistics collected

select * from performance_schema.events_transactions_summary_global_by_event_name
  where count_star > 0;

select * from performance_schema.events_transactions_summary_by_thread_by_event_name
  where count_star > 0;

select * from performance_schema.events_transactions_summary_by_user_by_event_name
  where count_star > 0;

select * from performance_schema.events_transactions_summary_by_host_by_event_name
  where count_star > 0;

select * from performance_schema.events_transactions_summary_by_account_by_event_name
  where count_star > 0;