Debian Codegraph @

mysql-test/suite/perfschema/include/enable_instruments.inc

raw
1 # Tests for the performance schema
2
3 # ==========================================
4 # HELPER include/enable_instruments
5 # ==========================================
6 #
7 # ==== Usage ====
8 #
9 # 1. Define the instrument to be enabled/disabled:
10 #
11 # let $pfs_instrument=<instrument>
12 #
13 # Where <instrument> is the instrument name with or without wildcards, e.g.
14 #
15 # let $pfs_instrument='%statement/sql%'
16 #
17 --disable_query_log ONCE
18
19 eval update performance_schema.setup_instruments
20 set enabled='yes', timed='yes'
21 where name like $pfs_instrument;
22
23