Debian Codegraph @

mysql-test/suite/perfschema/t/idx_compare_events_waits_current.test

raw
1 #
2 # Verify that query results are the same with and without indexes.
3 #
4 --source include/have_debug_sync.inc
5
6 let $table = "events_waits_current";
7 let $key_group = 1;
8
9 --echo TABLE: $table
10 --echo INDEXES: PK (THREAD_ID, EVENT_ID)
11
12 --source ../include/idx_compare_setup.inc
13
14 #
15 # Freeze the content of the performance schema tables,
16 # to compare the same data.
17 #
18 update performance_schema.setup_consumers
19 set enabled = 'NO' where name = 'global_instumentation';
20
21 --source ../include/idx_compare_load.inc
22
23 update performance_schema.setup_consumers
24 set enabled = 'YES' where name = 'global_instumentation';
25
26 --source ../include/idx_compare_cleanup.inc