polardbxengine/mysql-test/suite/perfschema/t/ddl_global_status.test

20 lines
521 B
Plaintext

# Tests for PERFORMANCE_SCHEMA
-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.global_status
add column foo integer;
truncate table performance_schema.global_status;
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.global_status
ADD INDEX test_index(VARIABLE_NAME);
-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index
ON performance_schema.global_status(VARIABLE_NAME);
-- error ER_DBACCESS_DENIED_ERROR
DROP INDEX `PRIMARY`
ON performance_schema.global_status;