diff options
author | unknown <kaa@polly.local> | 2007-01-24 17:12:42 +0300 |
---|---|---|
committer | unknown <kaa@polly.local> | 2007-01-24 17:12:42 +0300 |
commit | 185de9d0b000b1736227bb8496bea09fe22d1c49 (patch) | |
tree | d5c0962f67162a9df98d9f9e86dd24e53689d966 /mysql-test/t/grant.test | |
parent | ade93118651b970a377df52b65e01b4003dd9428 (diff) | |
parent | 7d4477f866d26b8bd8e941e6484d843cc30c83c8 (diff) | |
download | mariadb-git-185de9d0b000b1736227bb8496bea09fe22d1c49.tar.gz |
Merge polly.local:/tmp/maint/bug6774/my50-bug6774
into polly.local:/tmp/maint/bug6774/my51-bug6774
mysql-test/r/grant.result:
Manual merge
mysql-test/t/grant.test:
Manual merge
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r-- | mysql-test/t/grant.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test index 1d8991e92a1..c4f0a09eef8 100644 --- a/mysql-test/t/grant.test +++ b/mysql-test/t/grant.test @@ -939,4 +939,16 @@ REVOKE EXECUTE ON PROCEDURE p1 FROM 1234567890abcdefGHIKL@localhost; --error ER_WRONG_STRING_LENGTH REVOKE EXECUTE ON PROCEDURE t1 FROM some_user_name@1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY; + +# +# Bug #6774: Replication fails with Wrong usage of DB GRANT and GLOBAL PRIVILEGES +# +# Check if GRANT ... ON * ... fails when no database is selected +connect (con1, localhost, root,,*NO-ONE*) +connection con1; +--error ER_NO_DB_ERROR +GRANT PROCESS ON * TO user@localhost; +disconnect con1; +connection default; + --echo End of 5.0 tests |