mirror of
https://github.com/MariaDB/server.git
synced 2025-02-07 06:12:18 +01:00
20 lines
538 B
Text
20 lines
538 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.session_status
|
|
add column foo integer;
|
|
|
|
-- error ER_WRONG_PERFSCHEMA_USAGE
|
|
truncate table performance_schema.session_status;
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.session_status
|
|
ADD INDEX test_index(VARIABLE_NAME);
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
CREATE UNIQUE INDEX test_index
|
|
ON performance_schema.session_status(VARIABLE_NAME);
|
|
|