mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
P_S 5.7.28
This commit is contained in:
21
mysql-test/suite/perfschema/t/ddl_esms_by_program.test
Normal file
21
mysql-test/suite/perfschema/t/ddl_esms_by_program.test
Normal file
@ -0,0 +1,21 @@
|
||||
# This line and the line below is a temporary line for tests that do not need MyISAM in future, but need to be kept for tests that need it.
|
||||
--source include/have_myisam.inc
|
||||
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
alter table performance_schema.events_statements_summary_by_program
|
||||
add column foo integer;
|
||||
|
||||
truncate table performance_schema.events_statements_summary_by_program;
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
ALTER TABLE performance_schema.events_statements_summary_by_program ADD INDEX test_index(OBJECT_NAME);
|
||||
|
||||
-- error ER_DBACCESS_DENIED_ERROR
|
||||
CREATE UNIQUE INDEX test_index
|
||||
ON performance_schema.events_statements_summary_by_program(OBJECT_NAME);
|
||||
|
Reference in New Issue
Block a user