Debian Codegraph @

mysql-test/suite/perfschema/t/ddl_esms_by_program.test

raw
1 # This line and the line below is a temporary line for tests that do not need MyISAM in future, but need to be kept for tests that need it.
2 --source include/have_myisam.inc
3
4 # Tests for PERFORMANCE_SCHEMA
5
6 -- error ER_DBACCESS_DENIED_ERROR
7 alter table performance_schema.events_statements_summary_by_program
8 add column foo integer;
9
10 truncate table performance_schema.events_statements_summary_by_program;
11
12 -- error ER_DBACCESS_DENIED_ERROR
13 ALTER TABLE performance_schema.events_statements_summary_by_program ADD INDEX test_index(OBJECT_NAME);
14
15 -- error ER_DBACCESS_DENIED_ERROR
16 CREATE UNIQUE INDEX test_index
17 ON performance_schema.events_statements_summary_by_program(OBJECT_NAME);
18
19 -- error ER_DBACCESS_DENIED_ERROR
20 DROP INDEX `PRIMARY`
21 ON performance_schema.events_statements_summary_by_program;
22
23 CREATE TABLE test.create_select
24 AS SELECT * from performance_schema.events_statements_summary_by_program;
25
26 DROP TABLE test.create_select;