mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
24 lines
549 B
PHP
24 lines
549 B
PHP
|
# Tests for the performance schema
|
||
|
|
||
|
# ==========================================
|
||
|
# HELPER include/enable_instruments
|
||
|
# ==========================================
|
||
|
#
|
||
|
# ==== Usage ====
|
||
|
#
|
||
|
# 1. Define the instrument to be enabled/disabled:
|
||
|
#
|
||
|
# 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='yes', timed='yes'
|
||
|
where name like $pfs_instrument;
|
||
|
|
||
|
|