diff options
author | timour@mysql.com <> | 2005-11-30 21:27:11 +0200 |
---|---|---|
committer | timour@mysql.com <> | 2005-11-30 21:27:11 +0200 |
commit | 687b66b8daffd110e36f487e504199cd9a6ffa29 (patch) | |
tree | 7bdffd4813f1f558ecae86cf758e9b8b55b92895 /sql/sql_acl.h | |
parent | cc7d1268c43a2441843b854f70be194ab37ff5a7 (diff) | |
download | mariadb-git-687b66b8daffd110e36f487e504199cd9a6ffa29.tar.gz |
WL#2486 - natural/using joins according to SQL:2003
Post-review fixes that simplify the way access rights
are checked during name resolution and factor out all
entry points to check access rights into one single
function.
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 0e50737f84c..c8fadb73b0c 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -204,7 +204,9 @@ bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables, uint show_command, uint number, bool dont_print_error); bool check_grant_column (THD *thd, GRANT_INFO *grant, const char *db_name, const char *table_name, - const char *name, uint length, uint show_command=0); + const char *name, uint length, Security_context *sctx); +bool check_column_grant_in_table_ref(THD *thd, TABLE_LIST * table_ref, + const char *name, uint length); bool check_grant_all_columns(THD *thd, ulong want_access, GRANT_INFO *grant, const char* db_name, const char *table_name, Field_iterator *fields); |