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

-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.session_account_connect_attrs
  ADD COLUMN foo INTEGER;

-- error ER_WRONG_PERFSCHEMA_USAGE
TRUNCATE TABLE performance_schema.session_account_connect_attrs;

-- error ER_DBACCESS_DENIED_ERROR
ALTER TABLE performance_schema.session_account_connect_attrs ADD INDEX test_index(ATTR_NAME);

-- error ER_DBACCESS_DENIED_ERROR
CREATE UNIQUE INDEX test_index ON performance_schema.session_account_connect_attrs(ATTR_NAME);
