diff options
author | gluh@mysql.com/gluh.(none) <> | 2006-07-25 17:23:25 +0500 |
---|---|---|
committer | gluh@mysql.com/gluh.(none) <> | 2006-07-25 17:23:25 +0500 |
commit | e47b22c6a2d73788d912fffcd3ab7454225a2850 (patch) | |
tree | d9933578d1cbee2ab94159c8d1ab7352a08775ab /sql/table.h | |
parent | 800820b24f38c33cdbbf32dcce07a15084159f8a (diff) | |
download | mariadb-git-e47b22c6a2d73788d912fffcd3ab7454225a2850.tar.gz |
Bug#20543 select on information_schema strange warnings, view, different schemas/users
The fix is: if user has privileges to view fields and user has any
(insert,select,delete,update) privileges on underlying view
then 'show fields' and select from I_S.COLUMNS table are sucsessful.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index eb34867c390..41ab7e7bec8 100644 --- a/sql/table.h +++ b/sql/table.h @@ -569,6 +569,7 @@ typedef struct st_table_list tables. Unlike 'next_local', this in this list views are *not* leaves. Created in setup_tables() -> make_leaves_list(). */ + bool allowed_show; st_table_list *next_leaf; Item *where; /* VIEW WHERE clause condition */ Item *check_option; /* WITH CHECK OPTION condition */ |