summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-08-05 19:46:40 +0200
committerSergei Golubchik <serg@mariadb.org>2017-08-08 09:56:10 +0200
commite95d65d7d04061fa1c01a2981aa94290d94c476a (patch)
treea384ae283c72cd33ad7ce120093d3c7d09023f04 /mysql-test/suite/perfschema
parent2ef7a5a13a988842450cbeeaceaf0ea1a78a3c27 (diff)
downloadmariadb-git-e95d65d7d04061fa1c01a2981aa94290d94c476a.tar.gz
fix sporadic failures of perfschema.privilege_table_io
it used to fail if main.create_drop_role was run before it
Diffstat (limited to 'mysql-test/suite/perfschema')
-rw-r--r--mysql-test/suite/perfschema/r/privilege_table_io.result1
-rw-r--r--mysql-test/suite/perfschema/t/privilege_table_io.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/r/privilege_table_io.result b/mysql-test/suite/perfschema/r/privilege_table_io.result
index 4885086f776..8b82518159d 100644
--- a/mysql-test/suite/perfschema/r/privilege_table_io.result
+++ b/mysql-test/suite/perfschema/r/privilege_table_io.result
@@ -12,6 +12,7 @@ optimize table mysql.host;
optimize table mysql.user;
optimize table mysql.db;
optimize table mysql.proxies_priv;
+optimize table mysql.roles_mapping;
optimize table mysql.tables_priv;
optimize table mysql.procs_priv;
optimize table mysql.servers;
diff --git a/mysql-test/suite/perfschema/t/privilege_table_io.test b/mysql-test/suite/perfschema/t/privilege_table_io.test
index 833fe85e8bb..c7928b7345b 100644
--- a/mysql-test/suite/perfschema/t/privilege_table_io.test
+++ b/mysql-test/suite/perfschema/t/privilege_table_io.test
@@ -18,6 +18,7 @@ optimize table mysql.host;
optimize table mysql.user;
optimize table mysql.db;
optimize table mysql.proxies_priv;
+optimize table mysql.roles_mapping;
optimize table mysql.tables_priv;
optimize table mysql.procs_priv;
optimize table mysql.servers;