MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
disable_instruments.inc
1 # Tests for the performance schema
2 
3 # ==========================================
4 # HELPER include/disable_instruments
5 # ==========================================
6 #
7 # ==== Usage ====
8 #
9 # 1. Define the instrument to be disabled/enabled:
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='no', timed='no'
21  where name like $pfs_instrument;
22 
23