mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
22 lines
708 B
Text
22 lines
708 B
Text
# Tests for PERFORMANCE_SCHEMA
|
|
|
|
# This test verifies the correct behaviour in case of invalid
|
|
# usage of DDLs on the table replication_applier_status
|
|
|
|
--source include/not_embedded.inc
|
|
--source include/have_perfschema.inc
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_applier_status
|
|
ADD COLUMN foo integer;
|
|
|
|
-- error ER_WRONG_PERFSCHEMA_USAGE
|
|
TRUNCATE TABLE performance_schema.replication_applier_status;
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.replication_applier_status
|
|
ADD INDEX test_index(remaining_delay);
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
CREATE UNIQUE INDEX test_index ON
|
|
performance_schema.replication_applier_status(remaining_delay);
|