mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
changing a bit SHOW GRANTS to display empty row in global table.
This commit is contained in:
@@ -2762,8 +2762,6 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user)
|
||||
VOID(pthread_mutex_lock(&acl_cache->lock));
|
||||
|
||||
/* Add first global access grants */
|
||||
if (acl_user->access || acl_user->password ||
|
||||
acl_user->ssl_type != SSL_TYPE_NONE)
|
||||
{
|
||||
want_access=acl_user->access;
|
||||
String global(buff,sizeof(buff));
|
||||
|
||||
Reference in New Issue
Block a user