diff options
Diffstat (limited to 'mysql-test/suite/perfschema/include/connection_cleanup.inc')
-rw-r--r-- | mysql-test/suite/perfschema/include/connection_cleanup.inc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/include/connection_cleanup.inc b/mysql-test/suite/perfschema/include/connection_cleanup.inc new file mode 100644 index 00000000..761540b4 --- /dev/null +++ b/mysql-test/suite/perfschema/include/connection_cleanup.inc @@ -0,0 +1,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 + |