1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-20076: SHOW GRANTS does not quote role names properly

Quotes added to output.
This commit is contained in:
Oleksandr Byelkin
2019-11-06 12:35:19 +01:00
parent b3ded21922
commit fafb35ee51
103 changed files with 2124 additions and 1997 deletions

View File

@ -1,6 +1,6 @@
show grants;
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION
GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
create user 'pfs_user_5'@localhost;
grant usage on *.* to 'pfs_user_5'@localhost with GRANT OPTION;