mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
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
This commit is contained in:
commit
185de9d0b0
2 changed files with 14 additions and 0 deletions
|
@ -1037,4 +1037,6 @@ REVOKE EXECUTE ON PROCEDURE p1 FROM 1234567890abcdefGHIKL@localhost;
|
||||||
ERROR HY000: String '1234567890abcdefGHIKL' is too long for user name (should be no longer than 16)
|
ERROR HY000: String '1234567890abcdefGHIKL' is too long for user name (should be no longer than 16)
|
||||||
REVOKE EXECUTE ON PROCEDURE t1 FROM some_user_name@1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY;
|
REVOKE EXECUTE ON PROCEDURE t1 FROM some_user_name@1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY;
|
||||||
ERROR HY000: String '1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY' is too long for host name (should be no longer than 60)
|
ERROR HY000: String '1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY' is too long for host name (should be no longer than 60)
|
||||||
|
GRANT PROCESS ON * TO user@localhost;
|
||||||
|
ERROR 3D000: No database selected
|
||||||
End of 5.0 tests
|
End of 5.0 tests
|
||||||
|
|
|
@ -939,4 +939,16 @@ REVOKE EXECUTE ON PROCEDURE p1 FROM 1234567890abcdefGHIKL@localhost;
|
||||||
|
|
||||||
--error ER_WRONG_STRING_LENGTH
|
--error ER_WRONG_STRING_LENGTH
|
||||||
REVOKE EXECUTE ON PROCEDURE t1 FROM some_user_name@1234567890abcdefghij1234567890abcdefghij1234567890abcdefghijQWERTY;
|
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
|
--echo End of 5.0 tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue