1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

grant.result, grant.test, sql_acl.cc:

Fix for a bug #878
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-08-22 18:32:11 +03:00
parent e5b841e392
commit 4d2902a27d
3 changed files with 32 additions and 0 deletions

View File

@@ -3049,6 +3049,8 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user)
if (test_all_bits(table_access, (TABLE_ACLS & ~GRANT_ACL)))
global.append("ALL PRIVILEGES",14);
else if (!(table_access & ~GRANT_ACL))
global.append("USAGE",5);
else
{
int found= 0;