| 1 |
|
| 2 |
# Tests for PERFORMANCE_SCHEMA |
| 3 |
|
| 4 |
--source include/not_embedded.inc |
| 5 |
--source include/have_perfschema.inc |
| 6 |
|
| 7 |
SELECT * FROM performance_schema.setup_consumers ORDER BY name; |
| 8 |
|
| 9 |
# |
| 10 |
# Verify that the consumer option settings cannot be changed or seen |
| 11 |
# |
| 12 |
--error ER_UNKNOWN_SYSTEM_VARIABLE |
| 13 |
SELECT @@performance_schema_consumer_events_stages_current; |
| 14 |
|
| 15 |
--error ER_UNKNOWN_SYSTEM_VARIABLE |
| 16 |
SET @@performance_schema_consumer_events_stages_current=0; |
| 17 |
|
| 18 |
SHOW GLOBAL VARIABLES LIKE "performance_schema_consumer%"; |