Debian Codegraph @

mysql-test/suite/perfschema/t/idx_compare_socket_summary_by_instance.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 = "socket_summary_by_instance";
7 let $target_name = wait/io/socket/sql/client_connection;
8 let $name_column = EVENT_NAME;
9
10 --echo TABLE: $table
11 --echo INDEXES: PK (OBJECT_INSTANCE_BEGIN), KEY (EVENT_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.socket_summary_by_instance
19 WHERE event_name = '$target_name' LIMIT 1;
20 --enable_query_log
21
22 --echo ## Test OBJECT_INSTANCE_BEGIN
23 let $key_group = 12;
24 --source ../include/idx_compare_load.inc
25
26 --echo ## Test EVENT_NAME
27 let $key_group = 13;
28 --source ../include/idx_compare_load.inc
29
30 --source ../include/idx_compare_cleanup.inc