2010-01-12 02:47:27 +01:00
|
|
|
# Tests for PERFORMANCE_SCHEMA
|
|
|
|
|
|
|
|
--source include/not_embedded.inc
|
|
|
|
--source include/have_perfschema.inc
|
|
|
|
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
2010-11-03 16:42:33 +01:00
|
|
|
alter table performance_schema.mutex_instances add column foo integer;
|
2010-01-12 02:47:27 +01:00
|
|
|
|
|
|
|
-- error ER_WRONG_PERFSCHEMA_USAGE
|
2010-11-03 16:42:33 +01:00
|
|
|
truncate table performance_schema.mutex_instances;
|
2010-01-12 02:47:27 +01:00
|
|
|
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
2010-11-03 16:42:33 +01:00
|
|
|
ALTER TABLE performance_schema.mutex_instances ADD INDEX test_index(NAME);
|
2010-01-12 02:47:27 +01:00
|
|
|
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
2010-11-03 16:42:33 +01:00
|
|
|
CREATE UNIQUE INDEX test_index ON performance_schema.mutex_instances(NAME);
|
2010-01-12 02:47:27 +01:00
|
|
|
|