diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-06-13 15:33:02 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-06-13 15:33:02 +0200 |
commit | 2533313895b21bdf2862779477b4cf54cb101013 (patch) | |
tree | 153f77b600fe3db11c135d55c05339eb983d69a9 /mysql-test/t/grant_4332.test | |
parent | 3ddfab5e3c99a5f943cec1f003dbee5a2478c853 (diff) | |
download | mariadb-git-2533313895b21bdf2862779477b4cf54cb101013.tar.gz |
MDEV-4515 Long user names are truncated to 48 symbols in error messages
Diffstat (limited to 'mysql-test/t/grant_4332.test')
-rw-r--r-- | mysql-test/t/grant_4332.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/grant_4332.test b/mysql-test/t/grant_4332.test index f77d3be350f..991223221c5 100644 --- a/mysql-test/t/grant_4332.test +++ b/mysql-test/t/grant_4332.test @@ -58,6 +58,12 @@ select user from mysql.tables_priv; --error ER_COLUMNACCESS_DENIED_ERROR select user,host from mysql.tables_priv; +--error ER_DBACCESS_DENIED_ERROR +use mtr; + +--error ER_PROCACCESS_DENIED_ERROR +drop procedure mtr.add_suppression; + create procedure test.p1() select user(), current_user(), user from mysql.tables_priv; show create procedure test.p1; @@ -68,6 +74,10 @@ create event e1 on schedule every 1 second connection default; +--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT +--error ER_ACCESS_DENIED_ERROR +connect (c80bad,localhost,c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0,foobar,); + call test.p1(); disconnect a17; |