Debian Codegraph @

mysql-test/suite/sysschema/t/pr_ps_setup_show_enabled_instruments.test

raw
1 -- source include/not_embedded.inc
2 -- source include/have_innodb.inc
3
4
5 # Disable all but a few instruments (reduces output as well)
6 # It is not possible to disable memory/performance_schema/%
7 # so don't even try.
8 UPDATE performance_schema.setup_instruments
9 SET ENABLED = 'NO'
10 WHERE NAME NOT LIKE 'memory/performance_schema/%'
11 AND NAME NOT LIKE 'stage/innodb/%'
12 AND NAME NOT LIKE 'statement/com/%'
13 AND NAME <> 'idle';
14
15 CALL sys.ps_setup_show_enabled_instruments();
16
17 # Clean up
18 -- source ../include/ps_setup_reset_to_default_cleanup.inc