From a175314c3e5827eb193872241446f2f8f5c9d33c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:07:14 +0200 Subject: Adding upstream version 1:10.5.12. Signed-off-by: Daniel Baumann --- .../perfschema/include/connection_cleanup.inc | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mysql-test/suite/perfschema/include/connection_cleanup.inc (limited to 'mysql-test/suite/perfschema/include/connection_cleanup.inc') 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 + -- cgit v1.2.3