1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixes for information_schema

This commit is contained in:
gluh@gluh.mysql.r18.ru
2004-11-15 19:20:45 +03:00
parent bb52950625
commit c67d479918
4 changed files with 117 additions and 27 deletions

View File

@ -4107,10 +4107,10 @@ int fill_schema_column_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
ulong table_access= grant_table->cols;
if (table_access != 0)
{
ulong test_access= grant_table->cols & ~GRANT_ACL;
if (!(table_access & GRANT_ACL))
if (!(grant_table->privs & GRANT_ACL))
is_grantable= "NO";
ulong test_access= table_access & ~GRANT_ACL;
strxmov(buff,"'",user,"'@'",grant_table->orig_host,"'",NullS);
if (!test_access)
continue;