polardbxengine/mysql-test/suite/xengine_perfschema/t/ddl_prepared_statements_ins...

22 lines
782 B
Plaintext

# This line and the line below is a temporary line for tests that do not need MyISAM in future, but need to be kept for tests that need it.
--source include/have_myisam.inc
# Tests for PERFORMANCE_SCHEMA
-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.prepared_statements_instances
add column foo integer;
truncate table performance_schema.prepared_statements_instances;
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.prepared_statements_instances ADD INDEX test_index(OWNER_OBJECT_NAME);
-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index
ON performance_schema.prepared_statements_instances(OWNER_OBJECT_NAME);
-- error ER_DBACCESS_DENIED_ERROR
DROP INDEX `PRIMARY`
ON performance_schema.prepared_statements_instances;