Debian Codegraph @

mysql-test/suite/perfschema/t/idx_compare_cond_instances.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 = "cond_instances";
7 let $target_name = wait/synch/cond/sql/COND_thr_lock;
8 let $name_column = NAME;
9
10 --echo TABLE: $table
11 --echo INDEXES: PK (OBJECT_INSTANCE_BEGIN), KEY (NAME)
12
13 --source ../include/idx_compare_setup.inc
14
15 --disable_query_log
16 # Get an object_instance_begin
17 eval SELECT object_instance_begin INTO @object_instance_begin
18 FROM performance_schema.cond_instances
19 WHERE name = '$target_name' LIMIT 1;
20 --enable_query_log
21
22 --echo
23 --echo ## Test OBJECT_INSTANCE_BEGIN
24 let $key_group = 12;
25 --source ../include/idx_compare_load.inc
26
27 --echo
28 --echo ## Test NAME
29 let $key_group = 13;
30 --source ../include/idx_compare_load.inc
31
32 --source ../include/idx_compare_cleanup.inc