mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-20076: SHOW GRANTS does not quote role names properly
Quotes added to output.
This commit is contained in:
@ -654,8 +654,8 @@ CREATE USER untrusted@localhost;
|
||||
GRANT SELECT ON mysqltest1.* TO untrusted@localhost;
|
||||
SHOW GRANTS FOR untrusted@localhost;
|
||||
Grants for untrusted@localhost
|
||||
GRANT USAGE ON *.* TO 'untrusted'@'localhost'
|
||||
GRANT SELECT ON `mysqltest1`.* TO 'untrusted'@'localhost'
|
||||
GRANT USAGE ON *.* TO `untrusted`@`localhost`
|
||||
GRANT SELECT ON `mysqltest1`.* TO `untrusted`@`localhost`
|
||||
USE mysqltest1;
|
||||
CREATE TABLE t1 (a INT, b CHAR(64));
|
||||
flush logs;
|
||||
|
Reference in New Issue
Block a user