23 lines
784 B
Plaintext
23 lines
784 B
Plaintext
# Tests for PERFORMANCE_SCHEMA
|
|
|
|
# This test verifies the correct behaviour in case of invalid
|
|
# usage of DDLs on the table replication_connection_configuration.
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_connection_configuration
|
|
ADD COLUMN foo integer;
|
|
|
|
-- error ER_TABLEACCESS_DENIED_ERROR
|
|
TRUNCATE TABLE performance_schema.replication_connection_configuration;
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_connection_configuration
|
|
ADD INDEX test_index(HOST);
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
CREATE UNIQUE INDEX test_index
|
|
ON performance_schema.replication_connection_configuration(HOST);
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
DROP INDEX `PRIMARY`
|
|
ON performance_schema.replication_connection_configuration;
|