diff options
Diffstat (limited to 'mysql-test/suite/perfschema/t/ddl_events_stages_history_long.test')
-rw-r--r-- | mysql-test/suite/perfschema/t/ddl_events_stages_history_long.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/ddl_events_stages_history_long.test b/mysql-test/suite/perfschema/t/ddl_events_stages_history_long.test new file mode 100644 index 00000000000..8298500cf6d --- /dev/null +++ b/mysql-test/suite/perfschema/t/ddl_events_stages_history_long.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.events_stages_history_long add column foo integer; + +truncate table performance_schema.events_stages_history_long; + +-- error ER_DBACCESS_DENIED_ERROR +ALTER TABLE performance_schema.events_stages_history_long ADD INDEX test_index(EVENT_ID); + +-- error ER_DBACCESS_DENIED_ERROR +CREATE UNIQUE INDEX test_index ON performance_schema.events_stages_history_long(EVENT_ID); + |