summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysqldump.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-05-11 17:11:49 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-05-20 13:18:58 +0200
commit6dc27a2b2de4f2e94d69a979af7e71c2ead4db34 (patch)
tree6506f3c8d930eebe22c281e03acfeb93f0810e5b /mysql-test/main/mysqldump.test
parentbf2bdd1a1a112c3bbdf53da7a663a59fafa62c7d (diff)
downloadmariadb-git-bb-10.9-no_hack.tar.gz
MDEV-5215 prerequisite: remove test and test_* database hacks in the test suitebb-10.9-no_hack
Diffstat (limited to 'mysql-test/main/mysqldump.test')
-rw-r--r--mysql-test/main/mysqldump.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/main/mysqldump.test b/mysql-test/main/mysqldump.test
index fc6a426d554..a881605a73b 100644
--- a/mysql-test/main/mysqldump.test
+++ b/mysql-test/main/mysqldump.test
@@ -1380,6 +1380,7 @@ use test;
# Create user without sufficient privs to perform the requested operation
create user mysqltest_1@localhost;
+grant all on test.* to mysqltest_1@localhost;
create table t1(a int, b varchar(34));
# To get consistent output, reset the master, starts over from first log
@@ -2694,6 +2695,8 @@ drop tables t2, t1;
--echo # (work around for MDEV-20939)
--echo #
+create user a;
+grant SELECT on test.* to a;
use mysql;
--echo # check that all tables we need are not empty
@@ -2719,6 +2722,7 @@ let SEARCH_PATTERN=CREATE TABLE `proc`;
source include/search_pattern_in_file.inc;
--remove_file $MYSQLTEST_VARDIR/tmp/MDEV-20939.sql
+drop user a;
use test;
--echo # End of 10.1 tests