1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-13 01:01:44 +03:00
mariadb/mysql-test/suite/perfschema/t/ddl_tiws_by_index_usage.test
2012-08-14 17:23:34 +03:00

18 lines
585 B
Plaintext

# Tests for PERFORMANCE_SCHEMA
--source include/not_embedded.inc
--source include/have_perfschema.inc
-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.table_io_waits_summary_by_index_usage
add column foo integer;
truncate table performance_schema.table_io_waits_summary_by_index_usage;
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.table_io_waits_summary_by_index_usage ADD INDEX test_index(TABLE_NAME);
-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index ON performance_schema.table_io_waits_summary_by_index_usage(TABLE_NAME);