# Tests for PERFORMANCE_SCHEMA

--source include/not_embedded.inc
--source include/have_perfschema.inc

-- error ER_DBACCESS_DENIED_ERROR
alter table performance_schema.hosts
  add column foo integer;

truncate table performance_schema.hosts;

-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.hosts ADD INDEX test_index(CURRENT_CONNECTIONS);

-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index ON performance_schema.hosts(CURRENT_CONNECTIONS);

