1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-26080: SHOW GRANTS does not quote role names properly for DEFAULT ROLE

- Proceed with commit fafb35ee51

Reviewed by: serg@mariadb.com
This commit is contained in:
Anel Husakovic
2021-07-07 10:58:25 +02:00
parent 07fade6d18
commit 3fbe30024f
8 changed files with 48 additions and 18 deletions

View File

@@ -858,7 +858,7 @@ GRANT `aRole` TO `root`@`localhost` WITH ADMIN OPTION
GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
GRANT USAGE ON *.* TO `aRole`
SET DEFAULT ROLE aRole FOR 'root'@'localhost'
SET DEFAULT ROLE `aRole` FOR `root`@`localhost`
SET DEFAULT ROLE NONE;
SHOW GRANTS;
Grants for root@localhost