diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2004-04-05 17:55:26 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2004-04-05 17:55:26 +0500 |
commit | 8c06c8c01025668cdfa6ae66f25060b012ef2347 (patch) | |
tree | e0bb9eeebf8b928e1196274803e37d4faa9612e7 /mysql-test/r/grant2.result | |
parent | f8b790d0271213ebc881ccdcd22e1a6ecdd2b20f (diff) | |
download | mariadb-git-8c06c8c01025668cdfa6ae66f25060b012ef2347.tar.gz |
WL1368: SHOW GRANTS FOR CURRENT USER
'SHOW GRANTS' syntax is added
'SHOW GRANTS FOR CURRENT_USER' syntax is added
'SHOW GRANTS FOR CURRENT_USER()' syntax is added
CURRENT_USER without parens in expressions(SELECT CURRENT_USER;)
mysql-test/r/grant2.result:
WL1368: SHOW GRANTS FOR CURRENT USER
mysql-test/r/grant_cache.result:
WL1368: SHOW GRANTS FOR CURRENT USER
mysql-test/t/grant2.test:
WL1368: SHOW GRANTS FOR CURRENT USER
mysql-test/t/grant_cache.test:
WL1368: SHOW GRANTS FOR CURRENT USER
sql/lex.h:
WL1368: SHOW GRANTS FOR CURRENT USER
sql/sql_yacc.yy:
WL1368: SHOW GRANTS FOR CURRENT USER
Diffstat (limited to 'mysql-test/r/grant2.result')
-rw-r--r-- | mysql-test/r/grant2.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/grant2.result b/mysql-test/r/grant2.result index 0b127188586..d0765e2721f 100644 --- a/mysql-test/r/grant2.result +++ b/mysql-test/r/grant2.result @@ -5,6 +5,9 @@ grant all privileges on `my\_%`.* to mysqltest_1@localhost with grant option; select current_user(); current_user() mysqltest_1@localhost +select current_user; +current_user +mysqltest_1@localhost grant all privileges on `my\_1`.* to mysqltest_2@localhost with grant option; grant all privileges on `my_%`.* to mysqltest_3@localhost with grant option; ERROR 42000: Access denied for user: 'mysqltest_1'@'localhost' to database 'my_%' |