mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
22 lines
688 B
Text
22 lines
688 B
Text
# Tests for PERFORMANCE_SCHEMA
|
|
|
|
# This test verifies the correct behaviour in case of invalid
|
|
# usage of DDLs on the table replication_group_members.
|
|
|
|
--source include/not_embedded.inc
|
|
--source include/have_perfschema.inc
|
|
|
|
--error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_group_members
|
|
ADD COLUMN foo INTEGER;
|
|
|
|
--error ER_WRONG_PERFSCHEMA_USAGE
|
|
TRUNCATE TABLE performance_schema.replication_group_members;
|
|
|
|
--error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_group_members
|
|
ADD INDEX test_index(Member_Id);
|
|
|
|
--error ER_DBACCESS_DENIED_ERROR
|
|
CREATE UNIQUE INDEX test_index
|
|
ON performance_schema.replication_group_members(Member_Id);
|