summaryrefslogtreecommitdiff
path: root/mysql-test/suite/roles
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-15 12:31:59 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:44 +0300
commitd572c19f222f331b0a647fcd6731a494d423a5e0 (patch)
tree77be2dcbf75ab525f3bfa68e22d133c85c12a775 /mysql-test/suite/roles
parent410d09308979f217a3ed07c4d88a502c4798166f (diff)
downloadmariadb-git-d572c19f222f331b0a647fcd6731a494d423a5e0.tar.gz
Added flush tables to acl_load_mutex-5170.test
This is needed as otherwise a lot of MyISAM tables may be marked as crashed, depending on in which order tests are run
Diffstat (limited to 'mysql-test/suite/roles')
-rw-r--r--mysql-test/suite/roles/acl_load_mutex-5170.result1
-rw-r--r--mysql-test/suite/roles/acl_load_mutex-5170.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/roles/acl_load_mutex-5170.result b/mysql-test/suite/roles/acl_load_mutex-5170.result
index 6f6688f446e..775541b94f7 100644
--- a/mysql-test/suite/roles/acl_load_mutex-5170.result
+++ b/mysql-test/suite/roles/acl_load_mutex-5170.result
@@ -1,6 +1,7 @@
create user user1@localhost;
create role r1 with admin user1@localhost;
grant all on test.* to r1;
+flush tables;
select 1;
1
1
diff --git a/mysql-test/suite/roles/acl_load_mutex-5170.test b/mysql-test/suite/roles/acl_load_mutex-5170.test
index e77d191ea16..22b9dffb5fd 100644
--- a/mysql-test/suite/roles/acl_load_mutex-5170.test
+++ b/mysql-test/suite/roles/acl_load_mutex-5170.test
@@ -5,6 +5,7 @@
create user user1@localhost;
create role r1 with admin user1@localhost;
grant all on test.* to r1;
+flush tables;
--append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
wait