mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-5215 post-review fixes
* "public" should work in any letter case * PUBLIC is not a valid definer * granting to public should auto-create an entry in mysql.global_priv * SHOW GRANTS should show privileges obtained via PUBLIC * LEX_USER::is_public was often uninitialized * comments, whitespaces, typos, etc
This commit is contained in:
@@ -6033,6 +6033,7 @@ void THD::get_definer(LEX_USER *definer, bool role)
|
||||
definer->user= invoker.user;
|
||||
definer->host= invoker.host;
|
||||
definer->auth= NULL;
|
||||
definer->is_public= false;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user