summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/include/connection_cleanup.inc
blob: 761540b4fc4b9eebabc88bbf3bba00184f7fdfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Tests for the performance schema

# =====================================
# HELPER include/connection_cleanup.inc
# =====================================

--disable_query_log
revoke all privileges, grant option from user1@localhost;
revoke all privileges, grant option from user2@localhost;
revoke all privileges, grant option from user3@localhost;
revoke all privileges, grant option from user4@localhost;
revoke all privileges, grant option from user5@localhost;
drop user user1@localhost;
drop user user2@localhost;
drop user user3@localhost;
drop user user4@localhost;
drop user user5@localhost;
flush privileges;

drop procedure dump_all;

truncate table performance_schema.accounts;
truncate table performance_schema.users;
truncate table performance_schema.hosts;

--enable_query_log