mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
P_S 5.7.28
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
# This test verifies the correct behaviour in case of invalid
|
||||
# usage of DDLs on the table replication_connection_configuration.
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
ALTER TABLE performance_schema.replication_connection_configuration
|
||||
ADD COLUMN foo integer;
|
||||
|
||||
-- error ER_WRONG_PERFSCHEMA_USAGE
|
||||
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);
|
Reference in New Issue
Block a user