mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
compare public_name by pointer
print PUBLIC not quoted in SHOW GRANTS, PUBLIC is not a role
This commit is contained in:
@ -45,9 +45,9 @@ ERROR 42000: SELECT command denied to user 'testuser'@'localhost' for column 'a'
|
||||
show grants;
|
||||
Grants for testuser@%
|
||||
GRANT USAGE ON *.* TO `testuser`@`%`
|
||||
GRANT SELECT ON `testdb1`.* TO `PUBLIC`
|
||||
GRANT SELECT ON `testdb2`.`t2` TO `PUBLIC`
|
||||
GRANT SELECT (b) ON `testdb2`.`t3` TO `PUBLIC`
|
||||
GRANT SELECT ON `testdb1`.* TO PUBLIC
|
||||
GRANT SELECT ON `testdb2`.`t2` TO PUBLIC
|
||||
GRANT SELECT (b) ON `testdb2`.`t3` TO PUBLIC
|
||||
show grants for testuser@'%';
|
||||
Grants for testuser@%
|
||||
GRANT USAGE ON *.* TO `testuser`@`%`
|
||||
|
Reference in New Issue
Block a user