Debian Codegraph @

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

raw
1 # Tests for PERFORMANCE_SCHEMA
2
3 #setup
4 let $select_column = SUM_ERROR_RAISED;
5 let $table = performance_schema.events_errors_summary_by_account_by_error;
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, ERROR_NUMBER
13 ###########################################################################
14
15 let $column_count = 3;
16 let $col1 = HOST;
17 let $col2 = USER;
18 let $col3 = ERROR_NUMBER;
19 let $col1_act = "localhost";
20 let $col2_act = "foo";
21 let $col3_act = "1146";
22
23 --source ../include/idx_explain_test.inc
24
25 # Cleanup
26 drop user foo@localhost;