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