MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stage_cleanup.inc
1 # Tests for the performance schema
2 
3 # ================================
4 # HELPER include/stage_cleanup.inc
5 # ================================
6 
7 --disable_query_log
8 revoke all privileges, grant option from user1@localhost;
9 revoke all privileges, grant option from user2@localhost;
10 revoke all privileges, grant option from user3@localhost;
11 revoke all privileges, grant option from user4@localhost;
12 drop user user1@localhost;
13 drop user user2@localhost;
14 drop user user3@localhost;
15 drop user user4@localhost;
16 flush privileges;
17 
18 drop procedure dump_thread;
19 drop procedure dump_one_thread;
20 
21 truncate table performance_schema.setup_actors;
22 insert into performance_schema.setup_actors
23  select * from test.setup_actors;
24 drop table test.setup_actors;
25 drop table test.t1;
26 
27 update performance_schema.threads set instrumented='YES';
28 update performance_schema.setup_instruments set enabled='YES', timed='YES';
29 
30 --enable_query_log
31