mariadb/mysql-test/suite/perfschema/t/setup_consumers_defaults.test
2012-08-14 17:23:34 +03:00

18 lines
486 B
Text

# Tests for PERFORMANCE_SCHEMA
--source include/not_embedded.inc
--source include/have_perfschema.inc
SELECT * FROM performance_schema.setup_consumers ORDER BY name;
#
# Verify that the consumer option settings cannot be changed or seen
#
--error ER_UNKNOWN_SYSTEM_VARIABLE
SELECT @@performance_schema_consumer_events_stages_current;
--error ER_UNKNOWN_SYSTEM_VARIABLE
SET @@performance_schema_consumer_events_stages_current=0;
SHOW VARIABLES LIKE "performance_schema_consumer%";