mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
18 lines
532 B
Text
18 lines
532 B
Text
|
# Tests for PERFORMANCE_SCHEMA
|
||
|
|
||
|
--source include/not_embedded.inc
|
||
|
--source include/have_perfschema.inc
|
||
|
|
||
|
-- error ER_DBACCESS_DENIED_ERROR
|
||
|
alter table performance_schema.socket_instances add column foo integer;
|
||
|
|
||
|
-- error ER_WRONG_PERFSCHEMA_USAGE
|
||
|
truncate table performance_schema.socket_instances;
|
||
|
|
||
|
-- error ER_DBACCESS_DENIED_ERROR
|
||
|
ALTER TABLE performance_schema.socket_instances ADD INDEX test_index(FILE_NAME);
|
||
|
|
||
|
-- error ER_DBACCESS_DENIED_ERROR
|
||
|
CREATE UNIQUE INDEX test_index ON performance_schema.socket_instances(FILE_NAME);
|
||
|
|