summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/roles/recursive_dbug.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/roles/recursive_dbug.test')
-rw-r--r--mysql-test/suite/roles/recursive_dbug.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/roles/recursive_dbug.test b/mysql-test/suite/roles/recursive_dbug.test
new file mode 100644
index 00000000..81169599
--- /dev/null
+++ b/mysql-test/suite/roles/recursive_dbug.test
@@ -0,0 +1,14 @@
+#
+# run acl_roles_recursive and count the number of merges
+#
+source include/have_debug.inc;
+
+show status like 'debug%';
+
+set @old_dbug=@@global.debug_dbug;
+set global debug_dbug="+d,role_merge_stats";
+
+source recursive.inc;
+
+set global debug_dbug=@old_dbug;
+