Debian Codegraph @

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

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 #setup
4 let $select_column = VARIABLE_VALUE;
5 let $table = performance_schema.status_by_host;
6
7 create user foo@localhost;
8 grant ALL on *.* to foo@localhost;
9 connect(con, localhost, foo,,);
10
11 --echo # Connection con
12 --connection con
13
14 # Test index on HOST, VARIABLE_NAME
15 let $column_count = 2;
16 let $col1 = HOST;
17 let $col2 = VARIABLE_NAME;
18 let $col1_act = "localhost";
19 let $col2_act = "Max_execution_time_exceeded";
20
21 --source ../include/idx_explain_test.inc
22
23 --echo # Conenction default
24 --connection default
25
26 #Cleanup
27 --disconnect con
28 drop user foo@localhost;
29