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