mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Fix for a bug in SHOW GRANTS when :
grant on database.* to xx@yy with grant option; is done. sql/item.cc: fix for update of non-null column with function returning NULL
This commit is contained in:
parent
8a0a97f022
commit
ca8498e89d
4 changed files with 11 additions and 1 deletions
|
|
@ -64,3 +64,8 @@ GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, CREATE TE
|
|||
revoke all privileges on mysqltest.* from mysqltest_1@localhost;
|
||||
delete from mysql.user where user='mysqltest_1';
|
||||
flush privileges;
|
||||
grant usage on test.* to user@localhost with grant option;
|
||||
show grants for user@localhost;
|
||||
Grants for user@localhost
|
||||
GRANT USAGE ON *.* TO 'user'@'localhost'
|
||||
GRANT USAGE ON `test`.* TO 'user'@'localhost' WITH GRANT OPTION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue