1
0
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:
Sinisa@sinisa.nasamreza.org
2003-01-09 23:21:20 +02:00
parent 748665e7bb
commit 6b9f24be88
2 changed files with 6 additions and 2 deletions

View File

@@ -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));