summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/ddl_events_stages_history.test
blob: 1dd186571b25769a191ab33c88035a2d201496b5 (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

-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.events_stages_history add column foo integer;

truncate table performance_schema.events_stages_history;

-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.events_stages_history ADD INDEX test_index(EVENT_ID);

-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index ON performance_schema.events_stages_history(EVENT_ID);