mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
5.6.17
This commit is contained in:
23
mysql-test/suite/perfschema/include/disable_instruments.inc
Normal file
23
mysql-test/suite/perfschema/include/disable_instruments.inc
Normal file
@ -0,0 +1,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;
|
||||
|
||||
|
Reference in New Issue
Block a user