mariadb/mysql-test/suite/perfschema/t/ddl_session_connect_attrs.test
unknown 7ac5a1d362 MDEV-4710 Merge Performance Schema test cases from MySQL 5.6.10
Merged all perfschema tests, except for the following:
perfschema.part_table_io
perfschema.binlog_mix perfschema.binlog_row perfschema.binlog_stmt
perfschema.statement_digest_consumers perfschema.statement_digest
privilege.inc privilege.result
2013-07-10 15:30:17 +03:00

15 lines
521 B
Text

--source include/not_embedded.inc
--source include/have_perfschema.inc
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.session_connect_attrs
ADD COLUMN foo INTEGER;
-- error ER_WRONG_PERFSCHEMA_USAGE
TRUNCATE TABLE performance_schema.session_connect_attrs;
-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.session_connect_attrs ADD INDEX test_index(ATTR_NAME);
-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index ON performance_schema.session_connect_attrs(ATTR_NAME);