Debian Codegraph @

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

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 #setup
4 let $select_column = LOW_COUNT_USED;
5 let $table = performance_schema.memory_summary_by_account_by_event_name;
6
7 create user foo@localhost;
8 grant ALL on *.* to foo@localhost;
9 connect(con, localhost, foo,,);
10
11 ###########################################################################
12 # Test index on HOST, USER, EVENT_NAME
13 ###########################################################################
14
15 let $column_count = 3;
16 let $col1 = HOST;
17 let $col2 = USER;
18 let $col3 = EVENT_NAME;
19 let $col1_act = "localhost";
20 let $col2_act = "foo";
21 let $col3_act = "memory/sql/help";
22
23 --source ../include/idx_explain_test.inc
24
25 # Cleanup
26 --connection default
27 drop user foo@localhost;