blob: 47f09752aa6f9c13502563bccaf638d736ab851c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Tests for PERFORMANCE_SCHEMA
--source include/not_embedded.inc
--source include/have_perfschema.inc
-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.events_waits_summary_by_user_by_event_name
add column foo integer;
truncate table performance_schema.events_waits_summary_by_user_by_event_name;
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.events_waits_summary_by_user_by_event_name
ADD INDEX test_index(USERNAME);
-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index
ON performance_schema.events_waits_summary_by_user_by_event_name(USERNAME);
|