| 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.prepared_statements_instances |
| 8 |
add column foo integer; |
| 9 |
|
| 10 |
truncate table performance_schema.prepared_statements_instances; |
| 11 |
|
| 12 |
-- error ER_DBACCESS_DENIED_ERROR |
| 13 |
ALTER TABLE performance_schema.prepared_statements_instances ADD INDEX test_index(OWNER_OBJECT_NAME); |
| 14 |
|
| 15 |
-- error ER_DBACCESS_DENIED_ERROR |
| 16 |
CREATE UNIQUE INDEX test_index |
| 17 |
ON performance_schema.prepared_statements_instances(OWNER_OBJECT_NAME); |
| 18 |
|
| 19 |
-- error ER_DBACCESS_DENIED_ERROR |
| 20 |
DROP INDEX `PRIMARY` |
| 21 |
ON performance_schema.prepared_statements_instances; |
| 22 |
|
| 23 |
CREATE TABLE test.create_select |
| 24 |
AS SELECT * from performance_schema.prepared_statements_instances; |
| 25 |
|
| 26 |
DROP TABLE test.create_select; |