mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
P_S 5.7.28
This commit is contained in:
20
mysql-test/suite/perfschema/t/ddl_variables_by_thread.test
Normal file
20
mysql-test/suite/perfschema/t/ddl_variables_by_thread.test
Normal file
@ -0,0 +1,20 @@
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
alter table performance_schema.variables_by_thread
|
||||
add column foo integer;
|
||||
|
||||
-- error ER_WRONG_PERFSCHEMA_USAGE
|
||||
truncate table performance_schema.variables_by_thread;
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
ALTER TABLE performance_schema.variables_by_thread
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
CREATE UNIQUE INDEX test_index
|
||||
ON performance_schema.variables_by_thread(VARIABLE_NAME);
|
||||
|
Reference in New Issue
Block a user