diff options
author | unknown <ingo@mysql.com> | 2004-11-26 11:19:40 +0100 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2004-11-26 11:19:40 +0100 |
commit | 92e9f24dc20f51077410519900b7d1308db4987b (patch) | |
tree | 2ffb6559f85460ba40b439077ca59467ea009261 /mysql-test/t | |
parent | 31e9caa05c9da4d8e7d43428aca747c7cf965502 (diff) | |
parent | 2c2333e5f2f5bda27dd1079ba9302aa1fb200f2b (diff) | |
download | mariadb-git-92e9f24dc20f51077410519900b7d1308db4987b.tar.gz |
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-wl2050-new
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/grant2.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test index c439bd05d2f..70cec9e0e35 100644 --- a/mysql-test/t/grant2.test +++ b/mysql-test/t/grant2.test @@ -125,8 +125,10 @@ show grants for 'mysqltest_1'; drop user 'mysqltest_1', 'mysqltest_3'; # # Grant must not create user -#grant all on test.t1 to 'mysqltest_1'; -#drop user 'mysqltest_1'; +--error 1211 +grant all on test.t1 to 'mysqltest_1'; +--error 1268 +drop user 'mysqltest_1'; # # Cleanup drop table t1, t2; @@ -198,7 +200,7 @@ grant usage on *.* to mysqltest_2@localhost with grant option; connect (user2,localhost,mysqltest_2,,); connection user2; --error 1044 -select host,user,password from mysql.user order by host,user,password; +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@'%'; @@ -211,7 +213,7 @@ create user mysqltest_3@localhost; grant all privileges on mysql.* to mysqltest_3@localhost; connect (user3,localhost,mysqltest_3,,); connection user3; -select host,user,password from mysql.user order by host,user,password; +select host,user,password from mysql.user where user like 'mysqltest_%' order by host,user,password; insert into mysql.user set host='%', user='mysqltest_B'; --error 1044 create user mysqltest_A@'%'; |