| 1 |
# Tests for PERFORMANCE_SCHEMA |
| 2 |
# This test verifies the correct behaviour in case of invalid |
| 3 |
# Usage of DDLs on the table replication_group_member_stats. |
| 4 |
|
| 5 |
--source include/not_embedded.inc |
| 6 |
--source include/have_perfschema.inc |
| 7 |
|
| 8 |
--error ER_DBACCESS_DENIED_ERROR |
| 9 |
ALTER TABLE performance_schema.replication_group_member_stats |
| 10 |
ADD COLUMN foo INTEGER; |
| 11 |
|
| 12 |
--error ER_WRONG_PERFSCHEMA_USAGE |
| 13 |
TRUNCATE TABLE performance_schema.replication_group_member_stats; |
| 14 |
|
| 15 |
--error ER_DBACCESS_DENIED_ERROR |
| 16 |
ALTER TABLE performance_schema.replication_group_member_stats |
| 17 |
ADD INDEX test_index(Member_Id); |
| 18 |
|
| 19 |
--error ER_DBACCESS_DENIED_ERROR |
| 20 |
CREATE UNIQUE INDEX test_index |
| 21 |
ON performance_schema.replication_group_member_stats(Member_Id); |