summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/include/cleanup_helper.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/include/cleanup_helper.inc')
-rw-r--r--mysql-test/suite/perfschema/include/cleanup_helper.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/include/cleanup_helper.inc b/mysql-test/suite/perfschema/include/cleanup_helper.inc
new file mode 100644
index 00000000000..24b2cbec11e
--- /dev/null
+++ b/mysql-test/suite/perfschema/include/cleanup_helper.inc
@@ -0,0 +1,17 @@
+
+# Tests for PERFORMANCE_SCHEMA
+
+update performance_schema.setup_instruments set enabled='YES';
+
+connection con1;
+disconnect con1;
+--source include/wait_until_disconnected.inc
+connection con2;
+disconnect con2;
+--source include/wait_until_disconnected.inc
+connection con3;
+disconnect con3;
+--source include/wait_until_disconnected.inc
+
+connection default;
+