1 # Tests for the performance schema
3 # ================================
4 # HELPER include/stage_cleanup.inc
5 # ================================
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;
18 drop procedure dump_thread;
19 drop procedure dump_one_thread;
21 truncate
table performance_schema.setup_actors;
22 insert into performance_schema.setup_actors
23 select * from
test.setup_actors;
27 update performance_schema.threads
set instrumented=
'YES';
28 update performance_schema.setup_instruments
set enabled=
'YES', timed=
'YES';