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