diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-05-11 17:11:49 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-06-09 09:00:06 +0200 |
commit | 14e63e7893aeb9a73b828b78245815a77e67ec73 (patch) | |
tree | 56c0bbc0de7c12ad4c42fd8ccc443a4010b95197 /mysql-test/main/alter_user.test | |
parent | 8756d253f3578ac98cfde4f2b28c60411b79aaf2 (diff) | |
download | mariadb-git-bb-10.10-no_hack.tar.gz |
MDEV-5215 prerequisite: remove test and test_* database hacks in the test suitebb-10.10-no_hack
Diffstat (limited to 'mysql-test/main/alter_user.test')
-rw-r--r-- | mysql-test/main/alter_user.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/main/alter_user.test b/mysql-test/main/alter_user.test index 95e6d732907..aa92703a3e2 100644 --- a/mysql-test/main/alter_user.test +++ b/mysql-test/main/alter_user.test @@ -25,7 +25,7 @@ SET GLOBAL read_only=1; grant create user on *.* to foo; --echo # Currently no READ_ONLY ADMIN privileges. -connect (a, localhost, foo); +connect (a, localhost, foo,,"*NO-ONE*"); select @@global.read_only; --error ER_OPTION_PREVENTS_STATEMENT @@ -36,7 +36,7 @@ connection default; grant READ_ONLY ADMIN on *.* to foo; --echo # We now have READ_ONLY ADMIN privilege. We should be able to run alter user. -connect (b, localhost, foo); +connect (b, localhost, foo,,"*NO-ONE*"); alter user foo; connection default; @@ -110,7 +110,7 @@ drop user foo; --echo # Bug #29882299: ALTER USER ... IDENTIFIED WITH ... BY ... SHOULD BE A PRIVILEGED OPERATION --echo # create user foo@localhost; ---connect x,localhost,foo +--connect x,localhost,foo,,"*NO-ONE*" --error ER_SPECIFIC_ACCESS_DENIED_ERROR alter user current_user identified with 'something'; --connection default |