mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
15 lines
683 B
PHP
15 lines
683 B
PHP
# Tests for the performance schema
|
|
|
|
# ==========================================
|
|
# HELPER include/rpl_truncate_statements.inc
|
|
# ==========================================
|
|
|
|
--disable_query_log
|
|
update performance_schema.setup_instruments set enabled='no', timed='no' where name like '%statement/%';
|
|
truncate table performance_schema.events_waits_history_long;
|
|
truncate table performance_schema.events_statements_summary_by_digest;
|
|
truncate table performance_schema.events_statements_history;
|
|
truncate table performance_schema.events_statements_history_long;
|
|
update performance_schema.setup_instruments set enabled='yes', timed='yes' where name like '%statement/%';
|
|
--enable_query_log
|
|
|