summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant2.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-30 00:24:58 +0200
committerunknown <serg@serg.mylan>2005-03-30 00:24:58 +0200
commit149b43f3c569eb0698c251029e70fbad5b5cbc6f (patch)
treeaf5bdd9b11730ff1b0416d04595e25943eaf279a /mysql-test/t/grant2.test
parent37695aaf35e39e186bffacf41009671ce58ab529 (diff)
downloadmariadb-git-149b43f3c569eb0698c251029e70fbad5b5cbc6f.tar.gz
after merge fix
Diffstat (limited to 'mysql-test/t/grant2.test')
-rw-r--r--mysql-test/t/grant2.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test
index 528e3fde173..3bda5716d26 100644
--- a/mysql-test/t/grant2.test
+++ b/mysql-test/t/grant2.test
@@ -267,22 +267,22 @@ drop user '%@a'@'a';
#
create user mysqltest_2@localhost;
grant create user on *.* to mysqltest_2@localhost;
-connect (user2,localhost,mysqltest_2,,);
-connection user2;
+connect (user3,localhost,mysqltest_2,,);
+connection user3;
--error 1142
select host,user,password from mysql.user where user like 'mysqltest_%' order by host,user,password;
create user mysqltest_A@'%';
rename user mysqltest_A@'%' to mysqltest_B@'%';
drop user mysqltest_B@'%';
-disconnect user2;
+disconnect user3;
connection default;
drop user mysqltest_2@localhost;
#
# INSERT/UPDATE/DELETE is ok too
create user mysqltest_3@localhost;
grant INSERT,DELETE,UPDATE on mysql.* to mysqltest_3@localhost;
-connect (user3,localhost,mysqltest_3,,);
-connection user3;
+connect (user4,localhost,mysqltest_3,,);
+connection user4;
show grants;
--error 1142
select host,user,password from mysql.user where user like 'mysqltest_%' order by host,user,password;
@@ -290,7 +290,7 @@ insert into mysql.user set host='%', user='mysqltest_B';
create user mysqltest_A@'%';
rename user mysqltest_B@'%' to mysqltest_C@'%';
drop user mysqltest_C@'%';
-disconnect user3;
+disconnect user4;
connection default;
drop user mysqltest_3@localhost;
#