summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/include/disable_instruments.inc
blob: b0a4ddec450040a44ca1b1918daf77ff9370fa17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Tests for the performance schema

# ==========================================
# HELPER include/disable_instruments
# ==========================================
#
# ==== Usage ====
#
# 1. Define the instrument to be disabled/enabled:
#
#     let $pfs_instrument=<instrument>
#
#   Where <instrument> is the instrument name with or without wildcards, e.g.
#
#     let $pfs_instrument='%statement/sql%'
#
--disable_query_log ONCE

eval update performance_schema.setup_instruments
  set enabled='no', timed='no'
  where name like $pfs_instrument;