diff options
Diffstat (limited to 'mysql-test/suite/perfschema/t/ddl_setup_consumers.test')
-rw-r--r-- | mysql-test/suite/perfschema/t/ddl_setup_consumers.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/ddl_setup_consumers.test b/mysql-test/suite/perfschema/t/ddl_setup_consumers.test new file mode 100644 index 00000000..16e231d3 --- /dev/null +++ b/mysql-test/suite/perfschema/t/ddl_setup_consumers.test @@ -0,0 +1,17 @@ +# Tests for PERFORMANCE_SCHEMA + +--source include/not_embedded.inc +--source include/have_perfschema.inc + +-- error ER_DBACCESS_DENIED_ERROR +alter table performance_schema.setup_consumers add column foo integer; + +-- error ER_WRONG_PERFSCHEMA_USAGE +truncate table performance_schema.setup_consumers; + +-- error ER_DBACCESS_DENIED_ERROR +ALTER TABLE performance_schema.setup_consumers ADD INDEX test_index(NAME); + +-- error ER_DBACCESS_DENIED_ERROR +CREATE UNIQUE INDEX test_index ON performance_schema.setup_consumers(NAME); + |