From 14e63e7893aeb9a73b828b78245815a77e67ec73 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Wed, 11 May 2022 17:11:49 +0200 Subject: MDEV-5215 prerequisite: remove test and test_* database hacks in the test suite --- mysql-test/main/alter_user.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mysql-test/main/alter_user.test') 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 -- cgit v1.2.1